I have been testing my current RPG build to see how it performs after building and realized its not in a pleasant condition at the moment. While in editor it plays flawlessly / everything is smooth with no lag whatsoever.
FPS is average 110 while in unity editor
Also on terrain settings I have been toggling around with detail distance, density, billboard start etc… tested with low, medium, high values and performance is still the same on both editor and build version. Another thing that drew my attention was the warning in “Mesh Resolution” with the following message
“You may reduce CPU draw call overhead by setting the detail resolution per patch as high as possible, relative to the detail resolution”.
From this warning, google has lead me to unity threads talking about draw calls, and changing to a very low value for improved performance. Where is this value set? . I have changed the values
- Detail resolution per patch, Detail Resolution
from very low to very high, but I still get same performance in both instances. Smooth in editor, rough in build version.
I have even gone to the extreme lengths of removing any / and all grass in my scenes with no luck, and getting same performance issues either way.
The choppy effects are very noticeable in this sample video, which is running a build version.
https://www.youtube.com/watch?v=6yQfiulVwqA
In unity editor, I dont get this at all and the game runs like fine tuned Ferrari. What would the specific culprit be in this case if one goes around digging into the profiler