I'm adding an object to my scene using
bge.logic.getCurrentScene().addObject("Object Name"). But the object I want to add is linked from another file and the scene it's being added to is linked to a .blend controlling everything. Due to that I'm getting an ValueError saying that the requested name "ObjectName" did not match any KX_GameObject in this scene.
So how can I add the object from the other file or is there another way around it? I also uploaded a .zip containing 3 .blends: a library containing the group, a level (the group from the library is linked to it) and the main control .blend controlling everything. The level scene is linked to it. Here's the link.