Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
delphinius81's avatar
delphinius81
Rising Star
9 years ago

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?

2 Replies

Replies have been turned off for this discussion
  • vrdaveb's avatar
    vrdaveb
    Oculus Staff
    Thanks 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.