Slower in build than editor

This is the first time this has happened to me and just trying to understand what is happening.

I have combined sytny studio’s casino scene into one mesh. This greatly increased performance in the editor but in a build it runs at under 30fps. If I try to profile it I get 2fps and I can see Gfx.WaitForPresent is what is causing the problem.

But why is there so much more GPU work in build than editor?

They are both the same resolution and both same quality settings. I even recombined the mesh once taking off some parts but same results.

We need a little more info, ie screenshot of the profiler perhaps. Be sure to use deep profiling and profile a release build.

And yeah … what platform? That makes a huge difference. WebGL builds for instance are often slower than in the editor.

One thing that I would check first: is the mesh definitely a combined, static mesh in the build?

Also, are you comparing similar screen resolutions or is your game view resolution way lower? For standalone builds on the same platform as the Editor, lower than editor performance usually comes about due to Fill-Rate performance issues, which would express themselves as being GPU bound, which is what seems to be the cae for you. So shader complexity compared to the amount of pixles affected by that shader would usually be the root issue. (Which can include post processing)

After profiling more yesterday I was getting a spike in editor from Enviro 3 that was not showing on previous profiling. I contacted the creator and they told me to disable their custom rendering probe. After everything was working correct in editor and build. I was able to reenable their rendering probe and everything is still working.

Edit: After more testing any time a render probe is enabled the rendering problems seems to exist for this mesh. Above when I reenable it was not actually enabling the Enivro 3 render probe. I think the render probe was just not working at all in editor to start.