Jump to content
ChaosResolution

Unity Hangs After Editing Script

Recommended Posts

Since switching to Plastic SCM, we've been experiencing occasional hangs where the editor would become unresponsive and would require a forced restart. This happens when editing a script in Visual Studio, saving, and then returning to the editor. The editor will get stuck on importing the edited script.

Separately I've also experienced the editor freezing occasionally when pressing Play. This would also require a restart. 

Using Unity version 2019.4 and the Plastic SCM plugin. Any troubleshooting suggestions would be welcome!

Share this post


Link to post
Share on other sites

I have been experiencing the same behavior in Unity 2019.4. Using Rider as IDE.

Sometimes the editor can be unfrozen by opening, closing and reopening Plastic GUI.

  • Like 1

Share this post


Link to post
Share on other sites

Thank you for reporting this. I've attempted to reproduce this behaviour to no avail. I did notice that the time for the Editor to load was slightly longer if I had the Plastic SCM plugin window open.

image.thumb.png.f675e1af56f85235d7e707dd1b8d04ad.png

Can you confirm if closing the window reduces the occurrences of this?

Please can you also send us the below log files, which can be found on Windows here: %localappdata%/plastic4/logs/, and on Mac here: $home/.plastic4/logs/

  • unityplastic.debug.log.txt
  • unityplastic.relevant.log.txt

Share this post


Link to post
Share on other sites

@ollieblanks just to confirm - having worked for some time now with the Plastic SCM plugin window closed, it works so much better. No more hangs. We've even noticed that when updating the workspace it can hang on import if somebody had moved files or folders around, but again this doesn't happen if we update using the client rather than the plugin.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...