When i make a serializable enums or make publically enums (and call publicaly serialized enums) in my class,
and then when i click on that enums in the inspector suddlenly Null reference appears=>Null Reference Exception Unity Engine.TextEditor.UpdateScrollOffset()
Other enums are not visible rather than first enum
And then i can’t even click or select any asset in the project window
like if i click on the scenes folder that would’nt be clickable,
but hierarchy objects are clickables Sometimes and its normalize after restart unity a
.I have also reimported assets (reimport all) and deleted the library folder but that bug remains same
. It only happens when i click on my own script enums (other enums are having normal behaviour like in project setting , meshrender or any type of enums in the editor)
Am Using 2022.3.16
Are you using Sirenix’s Odin Inspector? Because I had a similar issue but after turning off their improved enum menu, the bug was fixed. It could be improper installation of Sirenix Odin Inspector but I honestly have no idea.
Based on the inspector image they are using Odin Inspector. This looks to be the issue caused when Unity renamed a number of GUI styles. The fix for anyone else in the future is just to update Odin.