hi all, i have a problem with overlay scene, if i add a scene and then i try to get it blender returns me a list index out of range error but in the game the scene is added, im using a code like this one:
if i print sclist it returns me only the main scene and that’s why about the index error but why blender can’t find it if i can see the added scene in the game? how can i fix it?
thx
Do you think it is a good design that one scene knows about the other? What should happen when this other scene does not exist (anymore)? Wouldn’t it be nice to not care if the other scene exist or not?
When your logic relies on the existence of another scene, wouldn’t it make sense to revert the order of creation? This way you can be sure the scene is present already.
If you can’t do that, is it a good idea to apply an existence check each time you want to access the dependent scene?