Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
2018.1.0b11
Issue ID
1013396
Regression
Yes
[GearVR | IL2CPP] Strip engine code pulls out VR module even though Virtual reality is enabled
GearVR Strip engine code pulls out VR module even though Virtual reality is enabled.
1. How we can reproduce it using the example you attached
1) Note that the settings are as follows
- Scritping backend = IL2CPP
- Strip Engine Code is checked
- Virtual reality mode is enabled
- Oculus is the preferred SDK
2) Deploy to a GearVR enabled device
3) Observe the app launches in 2D mode (this is the bug)
Notes:
- Unchecking strip engine code fixes the problem
- Adding a script that references a piece of th VRModule fixes that problem I.e. XRDevice.model
- Switching to Mono backend fixes the problem
Final note,
I consider this fairly low on the USER pain scale as most VR developers are going to have at least 1 call to a XRModule scripting API . That being said, it is a bug and we should fix it.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment