Search Issue Tracker
Fixed in 2023.1.20f1
Fixed in 2023.1.X, 2023.2.X, 2023.3.X, 2023.3.0a13
Votes
0
Found in
2023.1.16f1
2023.2.0b12
2023.3.0a8
Issue ID
UUM-52682
Regression
Yes
GameObject’s script Component gets enabled in Play Mode when it has a script that has functions to enable and disable it
How to reproduce:
1. Open the user’s attached “Unity_bug_a.zip” project
2. In the Hierarchy window, select “Player” GameObject
3. Enter Play Mode and exit Play Mode
4. Enter Play Mode
5. Observe the “Patrol” Component in the Inspector window
Expected result: The “Patrol” Component is disabled
Actual result: The “Patrol” Component is enabled
Reproducible with: 2023.1.0a20, 2023.1.16f1, 2023.2.0b12, 2023.3.0a8
Not reproducible with: 2021.3.31f1, 2022.3.10f1, 2023.1.0a19
Reproduced on: macOS 13.5.2 (Intel)
Not reproducible on: No other environment tested
Note: not reproducible if the Editor window is tall and the Patrol” Component is visible when entering Play Mode
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
- Localization Group Rules bypasses Locale logic when SharedGroup asset provided
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
- Crash on CallWindowProcW when entering Play mode for the second time and running the Editor in the background while using System.Windows.Forms functions
- 2D Freeform Light shadows disappear when light center is offset from shape bounds
- Crash on MarkAllDependencies when opening scenes with Assets from the YarnSpinner package
Resolution Note (fix version 2023.3):
Fixed in: 2023.3.0a13
Resolution Note (fix version 2023.2):
Fixed in: 2023.2.0b16
Resolution Note (fix version 2023.1):
Fixed in: 2023.1.20f1