Forum Discussion
fancyfennec
7 years agoExplorer
Latest "Oculus Integration 1.32" - 'System.Security' error. Can't use headset at all.
Hi,
downloaded latest "Oculus Integration" I can't run anything in Unity 2018.3.0f2 or 2018.2.19f1 I'm getting this error:
Assets\Oculus\Avatar\Scripts\OvrAvatarSkinnedMeshRenderPBSV2Component.cs(4,23): error CS0234: The type or namespace name 'Policy' does not exist in the namespace 'System.Security' (are you missing an assembly reference?)
This is from an empty scene, just loading the new "oculus integration' package. Updated oculus to all latest updates/firmware. Nothing will run because of this error. Not even the demo scenes.
downloaded latest "Oculus Integration" I can't run anything in Unity 2018.3.0f2 or 2018.2.19f1 I'm getting this error:
Assets\Oculus\Avatar\Scripts\OvrAvatarSkinnedMeshRenderPBSV2Component.cs(4,23): error CS0234: The type or namespace name 'Policy' does not exist in the namespace 'System.Security' (are you missing an assembly reference?)
This is from an empty scene, just loading the new "oculus integration' package. Updated oculus to all latest updates/firmware. Nothing will run because of this error. Not even the demo scenes.
3 Replies
Replies have been turned off for this discussion
- yoyoguyss1ExplorerI had the same issue, when I upgraded to Unity 2018.3 hopefully they fix this soon.
I fixed it by actually opening the OvrAvatarSkinnedMeshRenderPBSV2Component.cs file that gives the error and removing the import and I think it is safe to do so since that import is not being used throughout the file. - MikeSwansonProtegeI fixed this issue by changing the API Compatibility Level to .NET 4.x.
- phystoMemberI fixed this by commented out the import statement in that file. It sounds like the right solution is what MikeSwanson posted above.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device