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
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
Add comment