codewriter-packages / Tri-Inspector

Free inspector attributes for Unity [Custom Editor, Custom Inspector, Inspector Attributes, Attribute Extensions]
MIT License
972 stars 47 forks source link

Got error when click on folder/item #114

Closed restush closed 1 year ago

restush commented 1 year ago

Describe the bug

TriAssetImporterEditor.OnInspectorGUI must call ApplyRevertGUI to avoid unexpected behaviour. UnityEditor.AssetImporters.AssetImporterEditor:OnDisable () TriInspector.TriAssetImporterEditor:OnDisable () (at ./Library/PackageCache/com.codewriter.triinspector@04ad48abec/Editor/TriEditor.cs:28)

Expected behavior No error

Screenshots image

Desktop: Unity version: Tri Inspector version: