0.4.1 Start & End Timing Question
In OVRCamera.cs
Referencing the flowchart at the bottom of the Unity Execution Order of Event Functions.
If I add Debug statements, then in the editor it has BeginFrame called first, then EndFrame called second. But in a windows build EndFrame is called first, then BeginFrame gets called later that frame. Is this something that we should worry about, perhaps some Unity issue you guys are working around?
IEnumerator CallbackCoroutine()
{
while (true)
{
OVRDevice.HMD = Hmd.GetHmd();
#if UNITY_EDITOR_WIN || (!UNITY_EDITOR_OSX && UNITY_STANDALONE_OSX)
yield return new WaitForEndOfFrame();
#else
yield return null;
#endif
OnCoroutine();
}
}
Referencing the flowchart at the bottom of the Unity Execution Order of Event Functions.
If I add Debug statements, then in the editor it has BeginFrame called first, then EndFrame called second. But in a windows build EndFrame is called first, then BeginFrame gets called later that frame. Is this something that we should worry about, perhaps some Unity issue you guys are working around?
