InspectorFoldoutGroup icon indicating copy to clipboard operation
InspectorFoldoutGroup copied to clipboard

Doesn't work in Unity 2019.4.18f1 LTS

Open MaykerStudio opened this issue 4 years ago • 2 comments

The foldout doesn't even show in inspector. No error found in code or Unity itself. Yet, the attribute works fine in 2020.2.1f1 and others 2020 versions. If any one find a fix to it, please feel free to share.

MaykerStudio avatar Jan 24 '21 21:01 MaykerStudio

same for me, it worked for 5 minutes and then the next compilation the foldout disappeared

EDIT : try [Pixeye.Unity.Foldout("name", true)]

Athomield avatar Mar 19 '21 09:03 Athomield

It works for me on 2019.4 LTS (now 2019.4.21f1).

I had to disable an Editor related asset (Persitent Components) then it loaded. CustomInspector.cs in Persitent Components calls base.OnInspectorGUI() and DrawDefaultInspector() removing just that file allows them both to work together. It would be great to see it play nice with others if possible?

Note I also had to remove using Homebrew; from EditorOverride.cs. I also removed the Pixeye.Unity namespace in both files (personal preference but the attributes now match the docs).

haywirephoenix avatar May 13 '21 13:05 haywirephoenix