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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
There are no fixes planned for this Bug