Huge PERFORMANCE BUG in Unity Oculus Integration 1.35
Hi!
Think I found a huge performance problem. The TouchController.cs seems to be subscribing to the OVRManagers actions on every frame. This causes HUGE GC and CPU spikes in the profiler. I am using the latest Unity Oculus Integration 1.35 from the Unity Asset Store.
Basically it is calling the lines...
Think I found a huge performance problem. The TouchController.cs seems to be subscribing to the OVRManagers actions on every frame. This causes HUGE GC and CPU spikes in the profiler. I am using the latest Unity Oculus Integration 1.35 from the Unity Asset Store.
Basically it is calling the lines...
OVRManager.InputFocusAcquired += OnInputFocusAcquired;
OVRManager.InputFocusLost += OnInputFocusLost;...every frame in the Update() which really adds up after a while!
I moved it to Start() and the problems were gone. Hope this is helpful ;)
Cheers!
Martin
