OVRRaycaster (Gaze UI) & GC Alloc
I have integrated the OVRInputModule provided in this blog post. https://developer.oculus.com/blog/unity ... tem-in-vr/
While inspecting the profiler I noticed the EventSystem which has the OVRInputModule on it, was generating 14.5k of memory per frame in my game.
Using the VRPointers demo scene from the blogs project and deep profiling I narrowed it down to the OVRRaycaster.RayIntersectsRectTransform() class as the culprit.
While inspecting the profiler I noticed the EventSystem which has the OVRInputModule on it, was generating 14.5k of memory per frame in my game.
Using the VRPointers demo scene from the blogs project and deep profiling I narrowed it down to the OVRRaycaster.RayIntersectsRectTransform() class as the culprit.
