When I start my game my player is running around on a box collider. After running around for about 15 seconds he sorta just clips into the platform underneath and falls through the ground.
Checking the profiler to see what caused the lag for this to happen, I noticed that my Editor Loop would spike to between 100-500ms as my character clipped into the ground.
Well, it’s saying that the profiler window is really slow.
If you’re on Unity 2020 (or later), there’s an option to run the profiler window as a stand-alone process. That’ll help prevent it from interfering with the profiler results.
In order to get the best profiling results, I recommend creating a build and profiling that.