Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X
Votes
0
Found in
2022.3.61f1
6000.0.51f1
6000.1.7f1
6000.2.0b4
Issue ID
UUM-108959
Regression
No
Behaviour.isActiveAndEnabled desyncs when checked from a sibling component during OnEnable/OnDisable
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Repro.unity“ Scene
3. Enter the Play Mode
4. Observe the Console window
Expected result:
When the GameObject is enabled:
“Secondary OnEnable: enabled=True activeInHierarchy=True isActiveAndEnabled=True (Should be True)” should be displayed
When the GameObject is disabled:
”Secondary OnDisable: enabled=True activeInHierarchy=False isActiveAndEnabled=False (Should be False)” should be displayed
Actual result:
When the GameObject is enabled:
“Secondary OnEnable: enabled=True activeInHierarchy=True isActiveAndEnabled=False (Should be True)” is displayed
When the GameObject is disabled:
”Secondary OnDisable: enabled=True activeInHierarchy=False isActiveAndEnabled=True (Should be False)” is displayed
Reproducible with: 2022.3.61f1, 6000.0.51f1, 6000.1.7f1, 6000.2.0b4
Reproducible on: Windows 11
Not reproducible on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment