GIant "loading" box never goes away

Hello. I am porting an existing VR/XR Unity game to Vision. Everything is working extremely well with one strange, almost humorous exception:

At boot, this giant gray “Loading” box appears in the space (if I move the simulator camera I see it has an actual 3d position and size) and nothing seems to be able to dismiss it. I don’t know what this is and I don’t know what it thinks it’s “loading”.

What is this box, and how do I make it go away?

I am using 2022.3.21f1 and XCode 15.3. I am testing in the Vision Pro 1.1 Simulator and the Vision XR provider is on. There are no outstanding issues in the Project Validation pane (except for warnings about “world sensing” and “hand tracking” being off, and currently neither of these are being used). I see the problem in both Debug and Release mode. Looking in the runtime debug spew in XCode I see nothing that appears related, except possibly this:

Logging Error: Failed to initialize logging system. Log messages may be missing. If this issue persists, try setting IDEPreferLogStreaming=YES in the active scheme actions environment variables.

However, this message only appears in debug mode, whereas the Loading box appears in both debug and release mode.

Hey there! Thanks for reaching out and sorry to hear you’re having trouble.

That loading window hasn’t been around for a while. Are you using an older version of com.unity.xr.visionos? The loading window was removed in 0.7.1, which shipped back in December, so I’m surprised to see it making an appearance. In any case, it was a workaround for an earlier bug with apps that launch directly into the immersive space. As you say, it’s not loading anything and never goes away (even though we were calling dismissWindow on it). The problem should go away if you update to com.unity.xr.visionos@0.7.1 or above. Of course, I recommend that you update to the latest version, 1.1.6.

If you are using a version >= 0.7.1 I have no idea where this window is coming from :sweat_smile:

That’s just an Xcode bug. I see it as well, even if I’m running a normal visionOS app based on the Xcode project template, without Unity in the picture at all.

mtshchoen, thanks so much, I manually updated all my plugins and the box went away. The issue is resolved