I have trying to build a game in Unity3D and I am using Unity 5.1.1 pro version, I have imported Google VR sdk, and I am getting this error.
void Awake() {
#if !UNITY_5_2
// im getting a error on this line
GetComponentInChildren<VideoControlsManager>(true).Player = player;
#else
GetComponentInChildren<VideoControlsManager>().Player = player;
#endif
}
}