Search Issue Tracker
Won't Fix
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
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.