Search Issue Tracker
Duplicate
Votes
0
Found in
5.2.0b1
Issue ID
709329
Regression
No
[ PropertyDrawer ] Custom foldout on one element of an array affects every element
Reproduction steps:
1. Open attached project
2. Open scene "Test"
3. Select GameObject "Demo"
4. In the Inspector find "Test Array"
5. Try folding and unfolding one of its elements (click a little arrow next to its name)
6. Note, when you do that other elements of "Test Array" also fold and unfold
7. See linked video
Comments (2)
-
Bubsavvy
Oct 06, 2019 23:22
Yeah clearly they don't care. You shouldn't even try... Switch to unreal and you won't have BS issues like this. I feel your pain dude. The only way around it is creating a dictionary<uniquefieldID, bool> and accessing the foldout boolean from there. Sorry for your luck.
-
Icebone1000
Jul 27, 2017 02:53
Why the hell was this closed????
You cant fold ANY property with custom property drawer, unless theres only ONE foldable element. Every folding erlement affects ALL other EditorGUI.Foldout.
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
This is a duplicate of issue #709347