Hi
I have been experiencing massive spikes on iPad 2 and have narrowed it down to a Projector.render() function. This is really weird since the projector is constantly running and takes ~0.5ms normally but sometimes it decides to take more than 3 seconds to render. There is no change to the projector or the objects that he is projecting on.
The projector is projecting onto a mesh renderer and ignoring everything else.
Here is my setup:
I am using Unity 5.3.4f1.
Any thoughts on what might be wrong?
Thanks!
Þorgeir Auðunn
Did you start profiling after seeing a huge performance spike (e.g: game gets stuck for 3 secs) ?
The reason i’m asking is because the profiler may have its own overhead (profiling, sending the data, etc). So the issue happens also without profiling right ?
Also it would be interesting to see what also happens during that frame (are there any scripts that are taking long to run? other subsystems that are also slow, such as physics? etc)
Follow up when you see the issue again
Takk fyrir
liortal
@Sir-Thorgeir
Could you please check whether the bug is reproducible on the latest patch release? If it is, could you submit a bug report and attach the reproduction project to it? Please submit the bug id here. Thanks!
@liortal Yes, this also happens when the profiler is not running.
@povilas Will do.
However this issue has not been showing itself again, I might have tweaked some setting that made the issue go away but If it pops up I will do a follow up. Note that I am still running on 5.3.4f