hopefully a quick question. I am looking at refactoring my project to use AssetContainers rather than multiple scenes, to allow easier transition when in WebXR (ie allow triggering from non-user interaction)
From what I can see there is no way to create an asset directly into a container but you must first add it to the scene then move it to the container
…which removes it from the scene… so you then add it back in…
That’s all fine.
But it looks like to me that if I create a default webXR experience this will add a few things to the scene, which is dependent on the users hardware. But I need to add everything that the webXR experience has added to the keepAssets so it doesn’t end up in the AssetContainer. Essentially I want a loading scene that just has all the webXR stuff and then I will add and remove containers to it.
But there doesn’t seem to be an equivalent way to add all the assets currently in the scene to keepAssets. Is there an easy way to do this that I am missing or do you have to iterate over assets and manually add them to the appropriate part of keepAssets?