Hello,
I’ve been working on a large project, suddenly last night the editor began running very slow. By slow I mean it takes a second to register any click I make. It first started while I was editing an animation, I had been fixing some keyframes for about an hour before it just started running slow. I was using 5.6.1 and am making a VR game.
So far I’ve reinstalled Unity 5.6.1 twice as well as the latest 2017 beta but the problem still persists. I cleaned out a lot of unused assets in my project but that didn’t help either.
I have tried using -force-opengl, -force-d3d11, -force-d3d11-no-singlethreaded which are the three solutions I’ve seen work for other people.
The project was running just fine before, so I don’t know if it could be my system. But here are my specs:
i7-4970k
GTX 980
16GB RAM
Unity is installed on an SSD and the project is on a different SSD, both have 11GB of free space.
Task manager showed the editor using ~1.5GB of RAM, my total usage was never over 48% though.
I’ve also tried closing most background tasks as I’ve read it could be caused by monitoring NVidia/AMD monitoring software but that didn’t help either.
Are there any other possible solutions? I’ve spent 10 months on this project so far without this problem.
UPDATE:
I’ve narrowed my problem down to my player prefab. When I delete it everything works like normal. I’m not sure what the issue is with it though. When I applied the prefab, it broke the connection for some reason, forcing me to make it a new prefab. Maybe something is corrupted with it? It’s a SteamVR rig with VRTK, some UI elements, and hands models with animations so I don’t know why it’s causing so much of a problem with Unity.
UPDATE 2:
I solved the problem.
For anyone else that may experience this, the problem was the SteamVR Play Area script on [CameraRig]. When I disable it, everything works fine. I should mention the Mesh Filter on [CameraRig] does not have a mesh, I suspect that is the problem as in the VRTK example scenes there isn’t a problem and the Mesh Filter has a unnamed mesh. Weird.