I launched the app onto my Android device when I open it the unity watermark comes up looking a little weird then it goes into my VR game frozen I have to then go into settings and back it out for it to un-freeze and work. Any fixes or anybody else getting this. I have 0 compile errors and stuff like that.
Thanks in advance to any replies!!
I found a fix, so hopefully this works for others too (solution in bold below).
I looked through LogCat and found this:
“There must be only one Cardboard object in a scene”.
My hierarchy includes this:
-
Capsule
-
Main Camera
-
CardboardMain
-
Head
-
Stereo Render
-
-
Cardboard
I wanted to move the Cardboard node under a capsule representing the viewer, but when running, it kept creating an additional Cardboard node at the top level, and at some point this node stuck around when not running too (was easier to control if it didn’t only appear at run-time). I renamed the one under Capsule for clarity.
Both the CardboardMain and Cardboard nodes had the Cardboard script attached. I simply removed the one attached to CardboardMain and it fixed the freeze on start-up.
I also found that if you set the Default Orientation in the Player Settings to Auto Rotation, and only set it to Landscape Left in the script, then you end up with a clipped viewport, blanking out most of each eye’s view. I had to set it to Landscape Left in the Player Settings to fix this. (I want my app to toggle VR mode on and off, so I set it back to auto when not in VR mode).
I was dealing with the same issue and I think I found it: Every time you play in editor, your “cardboardMain” object creates another object, “Cardboard” in your scene. Before you build it out, delete this Cardboard object. Fixed it right up for me.
I was dealing with the same issue and I think I found it: Every time you play in editor, your “cardboardMain” object creates another object, “Cardboard” in your scene. Before you build it out, delete this Cardboard object. Fixed it right up for me.
Look in “Player Setting”. “Virtual Reality Support” = make sure it’s Unchecked. This is making game freeze.