StringPicker/ImagePicker causes the inspector GUI to collapse.

There is a bug in some versions of Unity released in 2021-2022 that causes the inspector GUI to collapse.

../_images/inspector_bug_01.png

Either of the following two methods can solve the problem.

  • Upgrade the Unity version
    If possible, we recommend this method.
  • Avoid drawing the problematic GUI
    Add UNITY_yyyy_m_j to enable the preprocessor NESTED_LIST_HAS_BUG at the beginning of the following file.
    PickerForUGUI/Editor/Util/PickerEditor.cs
    The problem GUI component will no longer be used.
../_images/inspector_bug_02.png
../_images/inspector_bug_03.png