Forum Discussion
wakkawakkawakka
5 years agoProtege
XR RIG loses use of UI and locomotion moving from scene to scene
After isolating the XR rig components and consolidating the event system as a single parented prefab my XR Raycast Interactors will not move beyond the UIs when moving from scene(0) to scene(1) and the locomotion system becomes completely inoperable if I move from back from scene(1) to scene(0). Here is the in script attached to the empty GameObject parent of The XR Rig, EventSystem which contains the Event System and XRUI input module, and XR Interaction manager. I am able to use the buttons from scene to scene and the components move to the Do Not Destroy OnLoad scene as intended in the editor (see pic) however, my raycasts turn to jelly and anchor in place and wont move beyond the canvas and locomotion becomes impossible upon return to scene(0)
https://www.youtube.com/watch?v=9AiwaOBUjL8
public class DontDestroy : MonoBehaviour
{ public static DontDestroy instance;
void Start() { if (instance == null) { instance = this; DontDestroyOnLoad(this); } else { Destroy(gameObject); } } }
1 Reply
Replies have been turned off for this discussion
- wakkawakkawakkaProtege
DONOTDESTROYONLOAD SCENE
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
- 12 months ago
- 2 years ago
- 2 months ago