I’ve got an assembly that contains two mono behaviours, however, it would appear that unity doesn’t support more than one per assembly? When I try and attach the behaviour to a game object unity complains it can’t find the script object?
However, if i rename the assembly to the name of one of the scripts it works.
This is my unity test project the assembly simply has two empty mono behaviours B1 & B2. If you attempt to drag the script to the cube you’ll get an error. The project is using .net 4.6
Hmm appears that the problem was … Select Platforms for plugins had Exclude Platforms Editor selected. Not sure why it would give such a vague error. I will go through the steps again to ensure that this is in fact the root cause of the original error. Thanks for your help.