#Entities Subscene Issues

1 messages · Page 1 of 1 (latest)

cyan bison
#

Hi All! I am having some issues loading entities subscenes through code, and it seems like it should be such a simple thing.

I have a loader as a monobehavior that creates a SceneLoadRequest, then a system in my ClientWorld that performs AsyncLoad.

I am using EntitySceneReference to reference the scene. However, it seems when I load I get a null reference error on the AsyncloadOperation. I also get this error when I toggle the autoload in the subscene component.

Anyone have any suggestions? Seems I've been hitting my head against it for a long time and Im not getting anywhere.

plucky geyser
#

Something in the subscene caused that null, usually some managed type.

cyan bison
#

Thanks for the message! I thought so too, I made a fresh scene, with a brand new subscene and still got the same error

cyan bison
#

think youre more onto something than i wanted to admit - this gave me some progress, thanks!

twilit raptor
#

show your code