- Home /
Changing Camera Background Bug (Gear VR)
So I'm working on a VR experience for the Oculus Gear VR and I'm trying to change the camera's background color for a transition. I have no problem using clear flag changes or anything, and the code works in the editor. However, when I load it into the phone and try to run it on the gear, the color stays the same, no matter what I do.
I have a separate camera controlling the background color, since this scene exists as a menu, that camera is called by this code:
background.backgroundColor = Color.black;
As I said, it works fine in the editor, but it does nothing at all on the phone. Hopefully someone else can help me figure it out.
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220611232927im_/https://answers.unity.com/themes/thub/images/avi.jpg)