I am getting the error "Initializing hosting entity without a context" in the console when I build and run my game in XCode 16.0 beta, targeting Vision Pro OS 2.0 (22N5252n).
Not sure where the error is originating.
I am getting the error "Initializing hosting entity without a context" in the console when I build and run my game in XCode 16.0 beta, targeting Vision Pro OS 2.0 (22N5252n).
Not sure where the error is originating.
Hello @patchedreality,
Are you able to provide more details about your game to help debug the log? Does it use RealityKit or a different framework/technology?
Thank you,
If it can help, I have got the same issue using RealityKit and creating attachments with a foreach loop in response to changes in my viewModel.
I got same error at same situation of ZeDenis.
In Diorama Sample, this error is occurred too.
Getting this error under the same circumstances as others on this thread, on 15.4 as well as 16 beta
Confirming it is still occurring in Diorama example, and also in my own app under similar implementations: RealityKit, and Attachments.
If I comment the attachment code (ie: I don't add any attachment), the issue does not appear.
Created FB15291821.
Ever find out what triggers this error/how to resolve? I'm coming back to a visionOS project after upgrading to visionOS 2 and having the same problem.
Hi @jasonator ,
This is just log spam, it is a known issue that it is appearing as a red warning rather than a yellow error, but unless you're seeing some incorrect behavior in your app at the same time, you're alright to ignore this for now.