Search Issue Tracker


Fixed in 2023.1.20f1, 2023.2.0b16, 2023.3.0a13



Found in




Issue ID




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 “” 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

  1. Resolution Note (fix version 2023.3.0a13):

    Fixed in: 2023.3.0a13

  2. Resolution Note (fix version 2023.2.0b16):

    Fixed in: 2023.2.0b16

  3. Resolution Note (fix version 2023.1.20f1):

    Fixed in: 2023.1.20f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.