I’m trying to figure out exactly what is causing LateBehaviourUpdate to take so long. When I click the arrow, it everything underneath it does not add up to the 5ms its taking. The event itself is taking almost 3ms.
Is this an event system thing? Are there checks its doing for events that is taking that long? How do I know what scripts are checking which events?
It does add up actually.
The event takes 2.28xxx and all the LateUpdates take the rest of it, roughly 3ms, a bit more.
However, I can’t tell either why it’s taking 2.28ms itself. For sure, it’s some overhead due to deep profiling. But perhaps there’s a long list to iterate for all the updates and some internal handling etc.
How much time does it take when you profile without deep profiling?