I've just started using unity tests with the built in editor tests. After making my test and finding out that it constantly failed I debugged the code and found that a static object was set to a new game object when running the test while it is set to null when playing in the editor. Is there a way to force unity to treat the test the in the same way that it treats scripts at run time? Edit After changing some code around i get another strange error: [![enter image description here][1]][1] does anyone know why "null" isn't "null". the null objects are stored in an array, but that shouldn't make a difference right? [1]: https://i.sstatic.net/Y1LQh.png