Search Issue Tracker
Fixed in 5.1.0
Votes
0
Found in
4.6.1p2
Issue ID
662200
Regression
No
[IMPORTANT][WP8] Prefab references lost when reloading scene
Loading a scene might lead to prefab reference loss on WP8.
The project included has two scenes - a level select scene and a gameplay scene. The level select scene simply loads the gameplay scene after a button press. The gameplay scene sets the background sprite to a prefab sprite. It also reloads itself every second (Application.LoadLevel()).
To reproduce the issue:
1. Open up the strippedRepro project
2. Build & run for WP8, development build
3. Once deployed, press the button "[1]", it loads up the 2nd level
4. The level sets the baground to a blue wallpaper. It also prints out debug.errors on scene reload. Everything works fine, no references are lost so far.
5. Press the "back" button on the Phone, it loads up the previous scene
6. Press the "[1]" button again
7. The background disappears as it's being set to null since the prefab lost it's reference to the sprite
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment