2020.1.0f1 Application.EnterPlayMode hangs forever

I moved over from older versions and the game will hang in the editor on PlayStart with window “Application.EnterPlayMode” - waited for 1h, uses some CPU (1 thread only?)

How can I debug it? Nothing found here or with Google

Windows 10.x (latest build, full pache) , VS Community Edition (latest build)

@ - can upload the mess if you are interested

1 Like

I have the same error, what should I do?

Same problem

Same.

+1

setting Managed Stripping Level to LOW worked for me

I’ll be so honest and write what was the issue in my case

I had created an INFINITE WHILE-LOOP. Fixed that, Game starts just fine

Hope i saved some of you an hour or two of despair :(:wink:

1 Like

This is the usual cause, glad you were able to get it resolved.

Often how you encounter this issue specifically when you upgrade Unity Editor versions, is the order that Unity methods like Start and Update are called on your GameObjects changes. Where your code worked fine where Start on object1 is always called before Start on object2, your code breaks when Start on object2 gets called before object1 instead.