So I was trying to figure out what specifically was causing lag spikes while playing my game in the editor (running from a build runs smooth) and this is what I got from the profiler and not quite sure how to read it:
The only thing that is clear is that Tilemap.Update is taking up most of the time when the lag spikes happen however I can’t understand the details. I expanded everything and I can’t figure out how it adds up to 98.98 because:
- If I assume the time ms is the amount of time to execute all calls, that does not even come close to 98.98.
- If I assume the time ms in the amount of time to execute each call, that goes way over 98.98.
Can anyone help me understand:
- Is time ms the amount of time for all calls or per call?
- Why Tilemap.Update is take 98.98 based on that profile?