Custom Editor Inspector [Bug]

Hi there,
Every time i select a custom inspector script containing “CanEditMultipleObjects” attribute i get this error

This never happened to me in 2018.2 or 2018.3 i don’t know if it’s a bug or not.
Edit : I’ve noticed this after adding an Assembly Definition file to the folder containing the said script

Hi buFFalo94,
It indeed looks like a bug. Can you open one using the bugreporter tool and put the number here, in this thread?
Thanks for your help!
Charles

Now it’s only happen the first time you add a script after editor restart the problem is gone for good

that’s quite strange, I’ll ask QA to keep an eye on this!

Happened to me in Unity 2018.3.6f1 after adding my own Assembly Definitions to improve the project structure.
I had imported the Fungus from the Asset Store, and needed to reference it in my project so I added various editor and non-editor assemblies. During the process I refreshed my project several times, leading to compilation errors as not all references were set.
After finishing setting the last references, the project compiled again, but one editor script, WriterAudioEditor (custom inspector for WriterAudio), was not displaying correctly, showing “Multi-object editing not supported” (unlike buFFalo94, my script was indeed not supporting Multi-Edit, but I was only selecting a single object). In the console, the same error appeared than buFFalo94 described. But the script had the correct assembly and was in an Editor folder (although not Assets/Editor, but that shouldn’t be a necessity).

After editor restart, the custom inspector worked properly.

I’m experiencing the same problem, also with editor scripts that are located in a folder with a Assembly Definition file.

Could you please submit a bug report?

I experience the same.

Is there any update on this? I’m having the same problem with 2019.1.0f2.

Edit: Editor restart fixed it for me. Nevermind…

We’re still lacking a bug report with actionable information. It would help a lot if you could submit a bug report with reproduction steps and if possible a reproduction project about this.

Since I had the same bug a few minutes ago in Unity 2019.1 I submitted a bug report (1172669) with the steps on how to reproduce the bug.

1 Like