Instance of xxx couldn’t be created. The script class needs to derive from ScriptableObject and be placed in the Assets/Editor folder.
I keep getting this on random things since upgrading to 2018.3.9. It doesn’t happen until something errors and I leave play. Then anything with a custom inspector that I click on says “Multi-object editing disabled” and throws the above error, even basic Unity Terrains. A restart fixes the behavior.
@Domas_L
I’ve come to notice that this only crops up when I switch build target to Linux. I work on Windows 10 but export my builds to both Win10x64 and Linuxx64. I just exported a hotfix, which resulted in switching back to Windows as the target, but now the majority of my scripts won’t render in the editor showing the “The script class needs to derive from ScriptableObject” even though they are standard and in some cases very simple Monobehaviours.
I’ve also noticed it crop up when a export results in me leaving the target platform as Linux and then quitting and coming back the next day still targetting Linux.
Targeting windows and restarting fixes the problem.
It’s hard to say what could be causing this issue without having seen the setup - could you please submit a bug report with a small repro project for further investigation?