LoadLevelAdditive in test scene.

I'm using Unity2017.2b with Unity's playmode test.

however I can't find the way to load prefab in to test runner's scene except Resource.Load.

And we shouldn't use Resource.Load for test prefabs because it will be included in production build.

So my idea is to create new scene for each test, set up prefabs in that scene and LoadLevelAdditive in play mode test but seems like it doesn't work

any idea.


does Instantiate not work for you?


Yes it does, but when it get more and more complex when having too many components in each GameObject.

Inspector fields could solve this.