I have a game with multiple levels made up of separate scenes. I'd like to add (at runtime) objects in an "assets" scene containing some generic objects that will be used in each level.
After unsuccessfully trying
scene.addObject("object_from_assets_scene"), I tried using a "loader" scene which would load the assets scene first (to allow for the async loading), then switch to the new scene (with
Despite the scenes appearing in
bge.logic.getSceneList(), none of the asset objects are in them and the main level objects aren't visible.
Is there any way to add an object from another scene?