Help: Unity Project won't open. Stuck on projectBrowser.OnGUI.repaint
Title. the project was working fine until about 30 minutes ago. Then i edited my pause menu script to include UnityEngine.SceneManagement and load "menuScene", I saved and came back to editor but it hung on the busy screen for 10 minutes saying ProjectBrowser.OnGUI.repaint, before i ultimately ended task. I restarted the program multiple times and waited 10 minutes to no avail. I restarted computer and it didnt work. Im unsure what to do to get back into the editor of my project. Please help, thank you
Answer by Twin-Stick · Mar 14 at 05:22 AM
Interesting the mention of SCM... I opened the SCM app and it had lost it's credential. I signed back in via the SCM app, opened my unity project again and it got passed this screen.
Wow - pretty crazy it holds up opening the unity project!
Answer by Llareia · Apr 22 at 07:36 PM
I had this problem today. I recently moved, which seems to have broken the connection between Plastic SCM and Unity. I was logged in on the web app to no avail. Here's how I fixed mine:
1) Create a new Unity project. 2) Use the Plastic SCM tab to connect the new project to Plastic SCM. 3) When the browser window pops up, log in to Plastic SCM using Unity ID. 4) Return to Unity and close the window that still says "Sign in to Plastic SCM". 5) Observe that the project connects to a new Plastic SCM project. 6) Open the old project that wasn't working. It should get past OnGUI.repaint now.
I have tried this too. But I still can't get past the screen. Maybe I am missing something.
In my case, this happened because I opened my proyect without wifi, and the OnGUI.repaint error started showing, I fixed mine this way 1) loging in Plastic SMC (or re-login) 2)Disconnect the wifi from the PC 3)Try to open the proyect now 4) Re-connect the wifi without closing the proyect
This helped me troubleshoot my issue, however I was able to simply open the Plastic SCM application and log in there as opposed to creating a brand new project
Answer by DevinW · Apr 04 at 02:43 PM
Also using Plastic SCM and this is still an issue. Was able to resolve by opening the Plastic SCM app and relogging in. Pretty crazy it completely halted unity from opening at all. Serious issue here.
This worked for me (after updating the collab proxy in the manifest file, and deleting my projects library folder), thanks for the tip. Starting to get very very frustrated with the amount of times the editor gets completely stuck on repaint or reload progress bars. Ive probably lost around 2 days development time this year to these bugs!
Answer by GoateeGamer · May 25 at 04:22 PM
The latest version of the Version Control package (v1.14.18/1.15.18) has a fix for Editor hang on startup for some projects that might address this issue for you.
If you can't open the project to update the Package Manager, try opening the manifest.json file in the Packages folder and edit the "com.unity.collab-proxy"'s version field manually. Opening the project after editing the manifest should force Unity to pull the latest version of the package and (hopefully) resolve the issue.
Just a side note for novices like me (assuming you can open the project): If you want to update the Version Control package, you can go to Window > Package Manager and look for "Versio Control" on the packages list. From there you can update it to the latest version
Answer by austinpaynter · Mar 10 at 02:54 AM
I'm Having the same problem. I haven't been able to open my project for 2 days.
Hey i wasnt able to fix the issue but I hope you are also using plastic SCM for version control if you're far into a project. I just removed my local project from the list and imported the latest backup as a new project. Then i found what was wrong: I changed the name of a scene and unity didnt like that very much. I changed the name back to what it was originally on both versions and then unity let me load the original project again
Thanks, your solution fix my problem. I import last saved backup, and the problem was gone.
I completely forgot about SCM. I'm very new to all this, and most of my time has been spent trouble shooting errors, and not as much time actually creating.
Your answer
Follow this Question
Related Questions
Loading project takes forever on mac 0 Answers
SceneView.Paint hangs forever 1 Answer
How to save material Texture without using the import UnityEditor 0 Answers
How to save Slider fill area in Xml? 0 Answers