Answer the question
In order to leave comments, you need to log in
Can't create playmode test in unity. Why?
Good evening! I deal with testing in the unit and stumbled upon a problem: when creating a test in a playmode, it is displayed only in EditMode. What could be wrong?
Answer the question
In order to leave comments, you need to log in
Most likely, you put it in the Editor folder, which is why it got there.
https://docs.unity3d.com/Manual/testing-editortest...
you should read it here..
You can also create test scripts by navigating to Assets > Create > Testing, and selecting either EditMode Test C# Script or PlayMode Test C# Script.
especially this moment and, in general, a lesson on testing. tests in play mode have slightly different attributes and requirements for them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question