A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Discussion in 'General Graphics' started by KingLlama, May 12, 2018.
It seems i'm spiking with the reflectionProbes.update, What would be a fix on it?
Profile a build on the target platform, rather than in the editor. The performance characteristics between a build and edit are often significantly. According to the screenshot, it seems the highlighted code path also outputs debug.log messages, which is often slow due to the stackwalker.
I would also give deep profile a try, to find out what specifically under the highlighted entry in the profiler is slow. Deep profile might work in the editor only and causes a significant performance drop, so it is useful to a certain degree only.
Perhaps the reflection probes are set up as realtime? This often has significant performance impact.
the reflection probe was the problem. It was spiking very heavily due to real time.