19-08-2020, 08:37 AM
(This post was last modified: 19-08-2020, 08:38 AM by josemendez.)
(18-08-2020, 06:19 PM)0xhex Wrote: what do you suggest for me?
This is a classic case of death spiralling: physics are being updated 6 times per frame, as indicated in the "Calls" column of the profiler. They should only be updated once.
Reduce Unity's max fixed timestep in the Time manager. See:
https://docs.unity3d.com/Manual/class-TimeManager.html
Also, check if there's something being written to your console. +6000 GCAlloc calls in EndStep() suggest that something is being logged, and logging is both slow and allocates memory.