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
- Rendering locks up when not looking at a transparent material on Meta Quest 2
- Volumetrics break when using a Custom Pass to create a Thickness Buffer for Alpha Clipping
- All tests are run instead of only the failed ones when the "Rerun Failed" button is pressed
- GameObject is not masked when the "Render PostProcessing Effects" pass executes with a resolved non-MSAA Color target and MSAA DepthStencil target
- [Android] Gfx.WaitForGfxCommandsFromMainThread high performance usage and inconsistency when built Player scene has Canvas GameObject on a specific Project
Add comment