Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.4.0f3
Issue ID
819525
Regression
Yes
Calling GameObject.Find corrupts child Canvas hierarchy active state
How to reproduce:
1. Open the attached project and the "BugScene" in it.
2. Expand Main Canvas in the Hierarchy and notice InactiveGameOpject child can be seen even it's parent is inactive.
3. Enable InactiveGameOpject and make it inactive again.
4. Play the scene and notice child Canvas image can be seen again.
Expected behavior: Child Canvas active state is not corrupted while calling GameObject.Find.
Actual behavior: Calling GameObject.Find corrupts Canvas hierarchy active states.
Reproducible: 5.3.5p8, 5.3.6p2, 5.4.0f3, 5.6.0a1
Not reproducible: 5.2.4f1, 5.3.5f1, 5.5.0a5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment