About the author:

All posts by Leong Toq-Sum:

How I fixed a Unity project that got stuck loading forever when opening a C# script

How I fixed a Unity project that got stuck loading forever when opening a C# script

Recently, while working on one of my projects in Unity, I opened one of my C# scripts, and… my Unity Editor decided to get itself stuck on the loading screen for a really long time. This led me to search online for a fix, and it took me quite some time.

Unity Editor infinite loading bar
The dreaded infinite loading bar.

If you’re experiencing the same issue, this article is for you. Hopefully, you won’t take as much time as I did to fix this error.

Continue reading