I have a project where i use additive scene loading to add different scenarios to a room (the room is one scene, the scenarios are in overlayed scenes). When i build just the room scene with one scenario, and run it by itself, it works flawlessly. However, when i have one room scene + scenario, and at the end of that load another room scene+scenario, all of which are included in the built scenes, some things are suddenly missing from the second scene which were available in the first build. For instance, certain sound effects are not working (though others are!), some behaviors are *partially* working - for instance, i have a snapping system where a highlight still shows, but the snapping itself does not execute; this is normally performed in a coroutine). This is despite those two things being a part of the same script! It's utterly confusing and impossible to debug. What is the solution here? Just drag everything to a resources folder?? I have tried to keep a good discipline before with only putting things in the resources folder which i don't reference in the inspector, but this doesn't seem to help.
↧