Search Issue Tracker
Active
Votes
0
Found in
2022.3.59f1
6000.0.41f1
6000.1.0b9
6000.2.0a6
Issue ID
UUM-99286
Regression
No
LayoutGroup evaluates ILayoutIgnorer property when the Component is disabled
Reproduction steps:
1. Open the attached “IN-93702.zip” project
2. Open the “SampleScene”
3. Select the “TestLayout” GameObject from the Hierarchy
4. In the Inspector, find the “Test Layout Ignorer (Script)” Component
5 Make sure that the Component and the “Ignore Layout” property are disabled
6. Enter the Play mode
7. Observe the layout of the Images
8. Exit the Play mode
9. Enable only the “Should Ignore Layout” property
10. Enter the Play mode
11. Observe the layout of the Images
Expected result: The layout of the Images does not change compared between 7th and 11th steps
Actual result: The layout changes even though the Component is disabled
Reproducible with: 2022.3.59f1, 6000.0.41f1, 6000.1.0b9, 6000.2.0a6
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- Related discussions page: [https://discussions.unity.com/t/layoutgroup-checks-disabled-ilayoutignorer-components-for-their-value/1583997|https://discussions.unity.com/t/layoutgroup-checks-disabled-ilayoutignorer-components-for-their-value/1583997]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [HDRP] Lit material preview is rendered incorrectly with a mask map
- The "LerpWhiteTo" missing function displays an error when the Shadows.hlsl shader is included in a Shader file
- Assertion error is thrown and UI is no longer rendered when discarding the changes made to the selectors overriding the default controls
- Application does not crash when "On .Net UnhandledException*" is set to Crash
- Sprites are rendered in a rounded way when SRP batcher is toggled off
Add comment