ViveInputUtility-Unity icon indicating copy to clipboard operation
ViveInputUtility-Unity copied to clipboard

ColliderEventCaster generate GC.Alloc in each Update and FixedUpdate event.

Open SHANG5150 opened this issue 5 years ago • 0 comments

The usage in ColliderEventCaster Update and FixedUpdate method below:

eventData.draggingHandlers.RemoveAll(CannotHandlDragAnymore);

Due to C# boxing problem, it cause GC.Alloc in each time when Update and FixedUpdate has been triggered.

SHANG5150 avatar Oct 19 '20 09:10 SHANG5150