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)
-
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
- The Player hangs when activating another maximized application
- [XR] Input is not registered and headset view is headlocked after entering Play Mode with Meta XR SDK on 6000.0.0b16 and higher
- Crash on RtlLookupFunctionEntry when using 10 or more GameObjects with Articulation Body component in the scene
- Polygons are created on the opposite side of the Sprite when the Sprite boundaries are above the edge of the Texture
- Render Graph Viewer Resource list becomes shrunk after using a filter that yields no results
Resolution Note (fix version 1.6.1):
Fixed with Oculus XR Plugin 1.6.1 (2019.4.18f1)