Search Issue Tracker
Won't Fix
Votes
0
Found in
2023.2.0b17
Issue ID
UUM-56534
Regression
Yes
Serializable integer variable changes are reset when entering the Play Mode
Reproduction steps:
1. Open the attached “ReproProject” project
2. Open the "Assets/Scenes/WorldScene.unity" scene
3. Select the “WorldManager” GameObject in the Hierarchy window
4. In the Inspector window change the Container Size value to a 16 in the World Manager (Script) component
5. Enter and then Exit the Play Mode
6. In the Inspector window change the Container Size value to a 5 in the World Manager (Script) component
7. Enter the Play Mode
8. Observe the Container Size value
Expected results: Container Size value stays at 5 when entering the Play Mode and saves the altered value
Actual results: Container Size value resets to 16 when entering the Play Mode
Reproducible with: 2023.2.0a18, 2023.2.0b17, 2023.3.0a13
Not reproducible with: 2021.3.32f1, 2022.3.13f1, 2023.1.19f1, 2023.2.0a17
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
Resolution Note:
There are no fixes planned for this Bug