Search Issue Tracker
Active
Under Consideration for 2022.3.X
Votes
0
Found in
2022.3.29f1
6000.0.2f1
Issue ID
UUM-72216
Regression
No
Private field value assignment via Script is not applied when you enter the Play Mode for the first time after the change
How to reproduce:
1. Open the user-attached project “TEST”
2. Open the “SampleScene” scene
3. Open the “TEST.cs” Script asset
4. In line 8 change the “gla” variable value from “false” to “true”
5. Save the Script and enter the Play Mode
6. Observe the Console
Expected results: “true” is logged into the Console
Actual results: “false” is logged into the Console
Reproducible with: 2022.3.29f1, 6000.0.2f1
Can’t test with: 2021.3.38f1 (Script can’t be loaded with no errors at all)
Reproducible on: Windows 11 Pro
Not reproducible on: No other environment tested
Note:
-The correct value is logged the second time you enter the Play Mode
-After the change Unity indicates Script recompiling
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Scene view audio toggle doesn't work after disabling and enabling audio source component with audio random container
- Pitch changes while paused messes up scheduling of the audio random container
- Crash on detail::ComputeShaderSnippetKey when entering the Play mode
- Unable to interact with Material Inspector window when creating a new Material and renaming it
- Shadow artifact is cast onto GameObjects in the Scene view when the Scene view lighting is disabled
Add comment