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
- "ArgumentOutOfRangeException" errors are thrown everytime a keyboard key is pressed when renaming a component in UI Builder with a symbol and changing the name after label attribute warning
- Values in "Rect Transform" component are only partially updated when changing values in Prefab Mode
- Same Asset Type Focused Inspectors do not repaint when menus are manipulated
- Bool or Trigger Parameters can be selected via right clicking to the right of a Parameter control in the Animator Window
- Warnings thrown when computing Positions in a 2D BlendTree are not helpful to the user
Add comment