Forum Discussion
delphinius81
9 years agoRising Star
OVRPlatformMenu
Not sure if this is by design or a bug, but OVRPlatformMenu does not maintain the instantiated cursor timer across levels. This means that if you have your OVRPlatformMenu is attached to a gameobject that persists across levels, you'll end up with the circle timer not displaying.
If you add DontDestroyOnLoad(instantiatedCursorTimer) to the OVRPlatformMenu Awake function, you can fix this. However, there might be cases where you want to destroy the timer on level load (for example, you attached the platform menu to your camera prefab).
Therefore, can you guys maybe update this script to give an option to persist the timer across levels?
If you add DontDestroyOnLoad(instantiatedCursorTimer) to the OVRPlatformMenu Awake function, you can fix this. However, there might be cases where you want to destroy the timer on level load (for example, you attached the platform menu to your camera prefab).
Therefore, can you guys maybe update this script to give an option to persist the timer across levels?
2 Replies
Replies have been turned off for this discussion
- vrdavebOculus StaffThanks for pointing this out! We'll take a look. It shouldn't be hard to fix. In the meantime, I assume making it DontDestroyOnLoad unblocks you for now.
- delphinius81Rising StarYep! I'm all set on my end.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 7 years ago