Search Issue Tracker
Fixed
Fixed in 2022.3.62f1, 6000.0.48f1, 6000.1.0f1, 6000.2.0a10
Votes
0
Found in
2022.3.60f1
6000.0.43f1
6000.1.0b11
6000.2.0a7
Issue ID
UUM-100594
Regression
Yes
Values changed on a prefab are not retained when entering Play Mode
How to reproduce:
1. Open the attached “IN-97074” project
2. In the Project tab navigate to Game/Assets/Villagers and select the “VillagerBase” prefab
3. In the Inspector tab find “Villager Behaviour” Script Component
4. Change any values in the Script Component
5. Click on the Scene view/Game view/Hierarchy tab to unselect prefab
6. Enter Play mode
7. Select the “VillagerBase” prefab again
8. Observe the changed values
Expected result: Values are retained
Actual result: Values revert to old ones
Reproducible with: 2022.3.12f1 (4fe6e059c7ef), 2022.3.60f1, 6000.0.43f1, 6000.1.b11, 6000.2.0a7
Not reproducible with: 2021.3.49f1, 2022.3.11f1
Reproducible on: macOS 15.3 (M2 Ultra)
Not reproducible on: Windows 11
Workaround: Values are retained if the prefab remains selected when entering Play mode
Notes:
- After changing the values, sometimes they are retained, when clicking anywhere on the Inspector tab
- Removing the “DefaultSceneLoader” script fixes the issue (Game/Script)
- When clicking on Scene/Game view to unselect the prefab, behavior is inconsistent
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- “UnityException: GetInvalidFilenameChars” errors are thrown, and the Overlay Save Preset button becomes unusable when entering Play Mode with a shortcut while Overlay Save Preset window is opened
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
Add comment