Skip to content

Conversation

@Suvitruf
Copy link

Got error in Unity 5.4.1:

AddComponent with MonoBehaviour is not allowed. Create a class that derives from MonoBehaviour and add it instead.

So, just add empty script to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant