- Home /
Question by
ChewyWaffles · May 25, 2014 at 04:56 PM ·
exceptionnunit
NUnit problems with Unity (System.MissingMethodException)
I'm getting a System.MissingMethodException on the constructor of an object I'm instantiating in a test. The test compiles (and, thus, is properly referencing the sibling project in MonoDevelop) but it throws an exception when I try to run the actual test. Can anyone help me?
Comment
Your code would be helpful here. Note you should not use a constructor if the object is derived from $$anonymous$$onoBehaviour. Use Start() or Awake().
Your answer
![](https://koobas.hobune.stream/wayback/20220613145852im_/https://answers.unity.com/themes/thub/images/avi.jpg)