@Evgeni_Popov
I can’t seem to get the assets appended from the container to the screenshot. I think it might be because I am manually changing the scene on the asset container. But when I look at the contents of that scene afterwards the assets are present. So I am kinda confused.
That’s because the camera defined in the sub scene may not see any mesh in your dropped scene, as it is in a fixed position / orientation, and the meshes of your dropped scene could well be behind it…
This PG uses the first camera defined in the loaded asset if it exists: try to drop the candle.babylon scene.
I have changed the position of the default camera (line 72): try to drop skull.babylon, you will see the skull is rendered even if no cameras are defined in the skull.babylon scene.
Also, you should wait for all assets of the scene to be ready before taking the screenshot, else you may end up with an empty picture: I used the scene.executeWhenReady function for that.