Component is null?

I have two scripts on an object. One references the other:

var otherScript : OtherCS = GetComponent(OtherCS);

The other script is C# monobehavior, this one is JS. The c# script is in the Plugins folder. The component IS there on the gameobject. Even so, I put a ‘require’ of that component in the script just in case.

For some reason, I’m getting back null for this. I also tried GetComponent(“OtherCS”) and gameObject.GetComponent(…) but nothing seems to work. Very strange. I restarted, rebooted, same anomoly.

I’m getting no errors on script compile, and I’ve reimported the scripts without problem too. I have the ‘other’ script on another game object where it works just fine.

Anyone got any ideas what might cause this?

This didn’t answer my question but did solve my problem: I disinherited it from MonoBehavior to make it a normal class and just new OtherCS() it.