Hello,
I am experiencing some weird behavior when using Build & Run to compile and play my game. I have 3 scenes… a menu scene, a character creation scene, and a game scene. The menu screen just has 2 buttons, the character creation scene has A character model that was imported from blender. The game scene has the same character model with more scripts on it to move him around etc…
Now when I “Play” the game in the editor I can transfer between the scenes just fine, everything works as planned. However, when I Build & Run the game, when I transfer from the menu scene to the character creation scene the character model does not show up in the scene. Then when I transfer to the Game scene the character model still isn’t there. however objects that are parented to him still appear in the parented location(so it seems like all the character models transforms are present, however the animations dont play… because well the model isnt there…) and the movement / input control scripts. seem to still work…
Now an interesting thing is if I Build & Run only 1 scene (either the character creation or the game scene) then the model shows up and everything works fine. If I build more than 1 scene the problem occurs.
In addition, there are 0 Game Objects being transferred between scenes. The only function being called is Application.LoadLevel(“Scene Name”). And once again when I play it in the editor everything shows up and works correctly… but Building and running more than 1 scene causes the Character Model to disappear.
I was hoping someone could enlighten me as to some of the differences between running in the editor and the Build and run to maybe identify why this is happening… Or if anyone has any thoughts.
Furthermore, I didnt use to have this problem, and it appeared to start happening after I added a new set of textures and imported a new font to the project… I dont see why that
would make a difference but just thought I would mention it.
Any theories would be great
Thanks