Heyo, just wanted to follow up on an observation from when 1.50 came out, namely that the player isn't loaded into the scene when you press Play after changing a setting on the player prefab in the resources folder.
I first saw it on 1.50g when updating an existing project, and thought it may have something to do with not importing the preference files like Tags and Input, but I couldn't figure it out so I accepted it.
But today I started a new project in Unity 5.3.2f1 using AC 1.50i, set up the player using the character wizard and a quick room setup to test, and the same thing happened.
No error message, nothing really 'breaks', just the player doesn't get added to the hierarchy on Play. Re-importing the GameEngine prefab always fixes it. It doesn't happen when I change anything about a child object of the player prefab, but any change to a component on the root gameobject results in this bug.
So, not really a showstopper, just an extra 5 seconds of clicking every once in a while, but I'm curious what's causing this. Maybe its just one of those obscure quirks about 5.3.
Comments
I know right.
Now I can edit whatever I like on the player prefab and it always shows up. But the minute I pull open that preview window again and press play: player prefab gone. It's worth mentioning that if I at that point close the preview window again without reimporting the GameEngine prefab, the player is still missing when I press play. But after a reimport, with the preview window closed, I can make any change I like and everything is fine.
To still answer your questions:
- no difference in GameEngine prefab pre- and post-reimport
- player is still tagged and selected in the settings manager
- no other objects tagged as player in the scene
- no warnings or errors (I have full console logging on in the AC settings)
Yes, it is a bug with 5.3. Seems that when you edit the Player, it's created in the scene (but made invisible?!?) so that when the scene begins AC mistakenly thinks the Player is loaded. Should be fixable.