- Home /
DoSendMouseEvent in batchmode?
I've been doing some optimization recently, and I've found a few oddities. The program I'm optimizing is running in batchmode, but every once in-a-while SendMouseEvent.DoSendMouseEvent() Spikes up to about 50ms.
This seems odd, seeing as there should be no mouse events in batchmode. Anyone have any ideas as to why this is happening?
I'm having this issue as well. Ocassionally I'll get a sequence in the profiler, if the mouse is over the screen:
[root]
-$$anonymous$$onobehavior.On$$anonymous$$ouse_
--Send$$anonymous$$ouseEvents.DoSend$$anonymous$$ouseEvents
---Physics.Raycast
Which takes a non-trivial percentage of my frame time in the editor.
Having the same problem here... Anyone found a solution?
Your answer

Follow this Question
Related Questions
Webplayer crashes on Chrome, but not on any other browser. Any way to avoid ? 1 Answer
Setting Material Textures at runtime for the rest of the game 0 Answers
Should i bake the skinned mesh? 1 Answer
Help! how to convert input.GetAxis to Accelerometer 0 Answers
Locate cause of massive frame rate drop 0 Answers