Search Issue Tracker
Fixed in 2021.3.47f1
Fixed in 2021.3.X, 2022.3.X, 6000.0.X, 6000.1.X, 7000.0.0a14, future release
Votes
0
Found in
2021.3.38f1
2022.3.29f1
6000.0.2f1
6000.1.0a7
Issue ID
UUM-72366
Regression
No
The Update() method gets called on a disabled script when added and disabled during runtime
Reproduction steps:
1. Open the attached “bugreport” project
2. Open the “Assets/Scenes/SampleScene” scene
3. Enter the Play mode
4. Press the “b” key
5. Observe the Console logs
Expected result: The Update() method does not get called
Actual result: The Update() method gets called
Reproducible with: 2021.3.38f1, 2022.3.29f1, 6000.0.2f1
Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested
Note: The Update() method does not get called if the script was added before entering the Play mode
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
Add comment