Extremely poor performance on an extremely simple scene.

I having very poor performance on the physics engine on a very simple scene. I just have 2 gameobjects, one contains a just mesh collider, the other contains a mesh collider a rigid body and a script that cast 4 rays on ever update, that’s enough to drop the frame rate to a crawling 15FPS… In order to investigate the issue and see what was happening I made another scene even simpler, but I’m not getting any noticeable improvements, just a cube with a rigidbody nothing else in the scene. (See the huge spikes on the profiler)

Compare this with 2017.3.1f1 below:


A little less than 100 FPS on 2017.3.1f1 against 15 FPS 2018.1.b7 is indeed a huge difference. I also test my original scene on 2017.3 and it runs very smooth at a rate close to 100 FPS.

I observed this as well:
https://discussions.unity.com/t/689852/3

I’ve also observed this in my editor, the spikes only happen for me when I profile. The game grinds to a halt.

I’m not sure what Unity have done but 2017 as a whole seemed to have been forced out the door or something. Seems a lot of lag problems made it into 2018 as well. I’m still on 5.6 running very smoothly and don’t think I’ll be upgrading till Unity 2019 lol.