Editor Loop giving massive lag spikes (fyi I'm new to unity)

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.

Checking the profile editor I saw that a few things were causing this.

This is the info prior to the spike:

This is after:

All help will be greatly appreciated.

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.

Thanks for the help, it worked!
All I did was update unity to the latest version and run the profiler as stand-alone. :slight_smile: