Unity 2022.3.4f1, NaughtyAttributes 2.1.4, it may be not NA issue at all
When creating any script with a generic in a project that has Naughty Attributes, it becomes impossible to add it to the object - "The script is an editor script".
If you add the script first, and then add a generic to it, the errors "The target object is null. Check for missing scripts."
Unity 2022.3.4f1, NaughtyAttributes 2.1.4, it may be not NA issue at all
When creating any script with a generic in a project that has Naughty Attributes, it becomes impossible to add it to the object - "The script is an editor script".
If you add the script first, and then add a generic to it, the errors "The target object is null. Check for missing scripts."
script path: Assets/Scripts/Common/NewBehaviourScript.cs