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

GazeManager logs error messages for objects lacking OnGazeEnter / OnGazeLeave

Open pnolen opened this issue 10 years ago • 1 comments

Unity will spam the console error log with the text "SendMessage OnGazeEnter has no receiver!" if no method for OnGazeEnter or OnGazeLeave has been created for the object. This can be mitigated by using the SendMessageOptions.DontRequireReceiver option as the second parameter to the SendMessage method on the GameObject.

pnolen avatar Apr 21 '16 23:04 pnolen

@pnolen thank you for filing. @dotMorten thank you for fixing. Merged into master.

NeerajW avatar Apr 22 '16 17:04 NeerajW