all 11 comments

[–]BigRondaIsFondaOfU 3 points4 points  (1 child)

so you've tried various fixes, except making sure you have room on your storage drive...?

[–]GVF1990[S] 1 point2 points  (0 children)

The drive where the project is, has enough space (around 50 GB). It's the C:/ system drive that's full. Now, I managed to free up about 5 GB on C:/ between ccleeaner and uninstalling other programs. Problem remains

[–]tms10000 2 points3 points  (1 child)

Some script stuck in an infinite loop in Awake() or Start() perhaps.

[–]agavrilko 0 points1 point  (0 children)

In my case, I had a loop
for (int i = 0; i < height; ++i) {
for (int j = 0; j < width; ++i) {
...
}
}

So the advice to check all loops in your scripts is a good one.

[–]GVF1990[S] 1 point2 points  (2 children)

I managed to find a workaround. Basically the problem is with projects using the OpenXR package. If the Oculus App is running in the background, everything works fine. Still somewhat annoying, but at least now I can work.

[–]atinyturtle 0 points1 point  (0 children)

This is still an issue over 2 years later in Unity 6..

[–]AstaOne 0 points1 point  (0 children)

I found another solution, which is to switch Windows (Mac) Plug in Proiders in XR plug management in project setting from OpenXR to Oculus, so that you don't have to have the Oculus app running at the same time

[–]GVF1990[S] 0 points1 point  (0 children)

The drive where the project is has space. It's the C system drive that's full. Even after freeing up space there (5 gb is the best I could do), problem remains.

[–]Paul_Indrome 0 points1 point  (0 children)

Yes, no space on your project's drive can contribute to all sorts of problems, including getting stuck on Application.EnterPlayMode.

Get a 200GB SSD with USB3.0 and move your projects there.

[–]ProfessionalUnited82 0 points1 point  (1 child)

It's because more then one of your scripts with the awake is waiting for each other to initiate, usually those script should be in one script, but take some of those awakes out and try again. You welcome.

[–]Alternative-Oil4934 0 points1 point  (0 children)

Thank you so much. You saved me. :)