# Unity 5.6 Google Cardboard Camera Movement Issue

**URL:** https://discussions.unity.com/t/unity-5-6-google-cardboard-camera-movement-issue/187065
**Category:** Questions & Answers
**Created:** [May 9, 2017, 5:44am UTC](https://discussions.unity.com/t/unity-5-6-google-cardboard-camera-movement-issue/187065 "2017-05-09T05:44:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jordan100X](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jordan100X](https://discussions.unity.com/u/Jordan100X)
#### Post date: [May 9, 2017, 5:44am UTC](https://discussions.unity.com/t/unity-5-6-google-cardboard-camera-movement-issue/187065/1 "2017-05-09T05:44:52Z")

</div>

So recently my team upgraded our google cardboard project from Unity 5.4 to 5.6.0f3. In 5.4 our scripts that we attached to the camera allowed us to move the camera’s position, but not rotation (obviously this is VR you don’t want your camera rotation being changed). In 5.6 scripts attached to the camera move it in the editor, but not in the build on the phone. But, if the camera is a child of a GameObject you can use it to change both the rotation and position of the camera.  
Using this workaround we can get all of our old scripts to work, but I just want to know why this was changed (assuming it’s not a glitch) and why there is a difference between the editor and build versions.

---

<div class="post-metadata">

### Author: ![Expia](https://avatars.discourse-cdn.com/v4/letter/e/258eb7/32.png) [@Expia](https://discussions.unity.com/u/Expia)
#### Post date: [May 18, 2017, 11:03am UTC](https://discussions.unity.com/t/unity-5-6-google-cardboard-camera-movement-issue/187065/2 "2017-05-18T11:03:06Z")

</div>

Thank you sir.

I am in the exact same case and I have been looking everywhere in my scripts for 2 days to understand why my camera stopped changing position in space.

Did not think of this work around. Thank you so very much.

It looks like a bug to me if I am any judge. A big one too.

---

<div class="post-metadata">

### Author: ![maidamedia](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/maidamedia/32/230459_2.png) [@maidamedia](https://discussions.unity.com/u/maidamedia)
#### Post date: [June 13, 2017, 8:02am UTC](https://discussions.unity.com/t/unity-5-6-google-cardboard-camera-movement-issue/187065/3 "2017-06-13T08:02:25Z")

</div>

same here!

---

<div class="post-metadata">

### Author: ![Liinnkk](https://avatars.discourse-cdn.com/v4/letter/l/4bbf92/32.png) [@Liinnkk](https://discussions.unity.com/u/Liinnkk)
#### Post date: [June 14, 2017, 9:54pm UTC](https://discussions.unity.com/t/unity-5-6-google-cardboard-camera-movement-issue/187065/4 "2017-06-14T21:54:17Z")

</div>

Different from previous versions, Unity 5.6 features native support to Google Cardboard. This will affect your project in various ways, including the change you noticed. You can check how Unity’s native support works by clicking [here](https://unity3d.com/pt/learn/tutorials/topics/virtual-reality/getting-started-vr-development?playlist=22946), including the pattern Camera Container \> Camera.
