Hi,
I've been profiling my game, and I'm seeing some really weird performance spikes. Unity says the spikes occur in UICamera. The spikes are big, seem to involve loading in some way, and occur periodically for a while and then stop. Does anyone have any idea what this is?
For what it's worth, the game was idling at the time (i.e. no player input, and very little clever stuff happening in the game logic itself). There are four UICameras in the scene (HUD, pause menu, store, options menu, all built as seperate scenes and loaded additively), but the only one that has anything to render when this screenshot was taken was the HUD, which was not changing or updating at the time.
UICamera only seems to deal with raycasting user inputs, so I'm not sure what business it has loading stuff. Is this a profiler glitch, or some weird under-the-hood camera stuff happening?
