Hey there,
i have a very strange behaviour between local iOS builds and Unity Cloud iOS builds.
I made a small test application for testing the switch between VR and non VR (Google VR SDK 1.60) and it works on our iOS devices if i build it on our local mac. If i upload it to our bitbucket account, build the IPA file with the unity cloud build and copy it over to our iOS devices the switch between VR and non VR does not work anymore.
The cloud build log is not showing any errors about this and the google sdk is included aswell.
How can i find out whats wrong with the cloud build ipa?
The code i use to toggle is:
public void toggle() {
StartCoroutine(ToggleVRMode());
}
IEnumerator ToggleVRMode()
{
yield return new WaitForEndOfFrame();
VRSettings.enabled = !VRSettings.enabled;
yield return new WaitForEndOfFrame();
camera.fieldOfView = 60f;
camera.ResetAspect();
if (VRSettings.enabled)
{
toggleImage.rectTransform.anchoredPosition = new Vector2(0f, -80f);
}
else
{
toggleImage.rectTransform.anchoredPosition = new Vector2(0f, -10f);
}
}
Thanks for helping out.
Kind regards,
Marcel / pyr0t0n