- Home /
UI canvas attached to vive controller disappears after first run in editor on vive
I have a worldspace UI canvas that I'm using in a VR scene on a Vive headset. Everything appears fine as I'm setting it up and when I run it the first time in the editor. But immediately after the first run, the contents of the canvas and children all disappear. The boundaries of the objects all still show in the editor but the contents are gone. Everything just shows as white rectangles in the editor and it shows nothing when I run the scene the second time.
Edit: I did determine that this only happens when the menu is attached to the vive controller model.
$$anonymous$$ake sure that your setting the parent only after the controllers have been initialized. If you're setting them as children within the editor, you'll notice that they may be above the play area, which would be where the origin of the controllers would be.
Your answer
Follow this Question
Related Questions
Strange UI Button hover offset when using Worldspace Canvas in VR 4 Answers
World Space UI as an in-game computer screen! 0 Answers
How to make a world canvas visible only from front side in a VR game ? 0 Answers
Scalewithscreensize equivalent for worldspace canvas's 0 Answers
How to stop collider from interfering with world space canvas? 1 Answer