Trying to troubleshoot crash on start
I'm having trouble creating a consistently working player prefab. Using Oculus Integration v1.38 on Unity 2019.1.2f. I have the updated manifest.xml, I set to android platform, using ASTC, using GSL3, etc. I have an empty scene where the player prefab works and builds fine. I import that player prefab into an existing scene, apply the same settings, and it crashes! It takes a long time to rebuild and test small changes, but I've tried everything I could think of. The debug logs don't tell me anything about the crashes. I thought my scripts were calling OVR components too soon, but I fixed that. I get different kinds of crashes:
The existing scene builds correctly with Oculus' Avatar prefab - so it can't be the scene breaking it.
If it's the scene conflicting with my scripts, I would get a debug error at least.
- App crashes immediately
- App crashes after a few frames
- App has stopped working message
- App never loads (3 dots)
- App runs but with black screen
The existing scene builds correctly with Oculus' Avatar prefab - so it can't be the scene breaking it.
If it's the scene conflicting with my scripts, I would get a debug error at least.
I can't figure it out.
