Hi,
·Deep Profile slows down my computer... I don't know the reason yet.
· The fps is not improved with the return line at the top of _updateFPCamera function.
· In builds, the fps are stable. The problem is the editor.
I have managed to narrow down the problem. The functions Kickstarter.playermovement.updateplayermovement() and character._Update() reduce fps.
If I comment the lines 254 and 277 of the script StateHandler.cs, I don't have problems with the fps.
Sorry,
"On the other hand, if I keep the "Player.cs" script enabled and I press "escape" key inside the game, the fps stay the same." It is not true. I get low fps after a short time.
I can't use Deep Profile becasue …