- Home /
 
               Question by 
               aosome23 · Jan 05, 2018 at 10:49 PM · 
                testingload scenerunnerunittest  
              
 
              Load scene/prefab when running a test through the test runner
I am trying to write tests for my motor controller to make sure it works. However I want to load test stages that are either stored in prefabs or in a scene.
I am totally lost on how to load the scene that has all the prefabs OR somehow load the prefabs
               Comment
              
 
               
              Answer by mechane · Dec 10, 2019 at 09:05 AM
I have found this way to do it: https://docs.unity3d.com/ScriptReference/Resources.Load.html . I have seen some guys using it. But I don't know if it is the recommended way for loading assets for tests.
Your answer
 
 
              koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                