Search Issue Tracker
Won't Fix
Won't Fix in 4.5.X
Votes
0
Found in [Package]
4.5.0
Issue ID
OXPB-187
Regression
No
Errors are thrown when installing the com.unity.xr.oculus package in a project without built-in modules and packages
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the Package Manager (Window > Package Manager)
3. Click the “+” button in the status bar in the top-left corner
4. Select "Add package by name..."
5. Enter the package name com.unity.xr.oculus
6. Click the “Add” button
7. Observe the Console window
Expected result: No errors are thrown
Actual result: Errors are thrown
Reproducible with: 4.5.0, 4.5.1 (2022.3.65f1, 6000.0.55f1, 6000.1.15f1, 6000.2.0b11, 6000.3.0a4)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Full errors:
- Library\PackageCache\com.unity.xr.oculus@f23ad2c521e1\Runtime\EnvironmentDepth.cs(60,47): error CS1069: The type name 'PermissionCallbacks' could not be found in the namespace 'UnityEngine.Android'. This type has been forwarded to assembly 'UnityEngine.AndroidJNIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Android JNI' in the Package Manager window to fix this error.
- Library\PackageCache\com.unity.xr.oculus@f23ad2c521e1\Runtime\EnvironmentDepth.cs(62,17): error CS0103: The name 'Permission' does not exist in the current context
- Library\PackageCache\com.unity.xr.oculus@f23ad2c521e1\Runtime\FFR.cs(22,20): error CS0103: The name 'Permission' does not exist in the current context
- Library\PackageCache\com.unity.xr.oculus@f23ad2c521e1\Runtime\FFR.cs(115,59): error CS1069: The type name 'PermissionCallbacks' could not be found in the namespace 'UnityEngine.Android'. This type has been forwarded to assembly 'UnityEngine.AndroidJNIModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Android JNI' in the Package Manager window to fix this error.
- Library\PackageCache\com.unity.xr.oculus@f23ad2c521e1\Runtime\FFR.cs(117,29): error CS0103: The name 'Permission' does not exist in the current context
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
- [Editor] Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
Resolution Note:
Thank you for raising this issue with us. We are currently only addressing high priority issues for the Oculus XR Plugin. As this issue has a relatively straight-forward workaround, use the package manager to install com.unity.modules.androidjni, we are opting not to fix issue.
Resolution Note (4.5.X):
Thank you for raising this issue with us. We are currently only addressing high priority issues for the Oculus XR Plugin. As this issue has a relatively straight-forward workaround, use the package manager to install com.unity.modules.androidjni, we are opting not to fix issue.