Search Issue Tracker
Fixed in 1.6.1
Votes
0
Found in [Package]
1.5.0
Issue ID
1287357
Regression
No
[XR SDK] [Oculus] SetFoveation Level throws Error exception when executed in Play mode
Reproduction steps:
1. Open the attached project ("U2021.zip")
2. Open SampleScene scene
3. Enter Play mode
4. Open the Console Window
Expected result: No errors thrown
Actual result: Exception/Error thrown:
Oculus 1.5.0:
EntryPointNotFoundException: GetOvrJava
Unity.XR.Oculus.Utils.SetFoveationLevel (System.Int32 level) (at Library/PackageCache/com.unity.xr.oculus@1.5.0/Runtime/FFR.cs:23)
EnableFFR.OnEnable () (at Assets/EnableFFR.cs:12)
Oculus 1.6.1, 1.7.0:
Can't set foveation level
UnityEngine.Debug:LogError(Object)
Unity.XR.Oculus.Utils:SetFoveationLevel(Int32) (at Library/PackageCache/com.unity.xr.oculus@1.6.1/Runtime/FFR.cs:25)
EnableFFR:OnEnable() (at Assets/EnableFFR.cs:12)
Reproducible with: Oculus XR Plugin 1.5.0, 1.6.1, 1.7.0 (2019.4.18f1, 2020.2.2f1, 2021.1.0b2)
Not reproducible with: 2018.4.30f1 (XR SDK not available)
Comments (1)
-
fherbst
Jan 08, 2021 14:39
One note on this: it seems that while the Java exception is catched in recent plugin versions (1.6 and 1.7) but still an error is logged.
For Quest development, the main mode of usage is the Unity Editor set to Android build target, testing via Link on Desktop and then deploying to device. This means the Editor is always set to "Android" build target. Logging an error on every play is annoying and cluttering the console.
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
- Paste Settings functionality does not save the pasted settings in volume profile when reloading the project
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
Resolution Note (fix version 1.6.1):
Fixed with Oculus XR Plugin 1.6.1 (2019.4.18f1)