Hello,
I am trying to run my AltUnity test through the command line. So far I've successfully got the project to build and instrumented the game with AltUnityServer using this command:
./Unity.exe -projectPath $PROJECT_DIR -executeMethod BuilderClass.BuildFromCommandLine -logFile LogFile.txt
** I'm not using batchmode for now because I want to see what's going on in the background**
After I run that command, the Unity Editor starts up, however the game is not running and I don't see the message that says "Waiting for connection on port 13000". I need to manually click "Play" in the editor for it to give me that message so that I can run my test.
How can I execute the "Run test" command if the game isn't playing after I build from command line? I want to be able to execute this command for my test:
<UnityPath>/Unity -projectPath $PROJECT_DIR -executeMethod
AltUnityTestRunner.RunTestFromCommandLine -tests MyFirstTest.TestStartGame -logFile logFile.log
but when I run it, Unity editor crashes with error "Could not create connection to 127.0.0.1:13000".
Thanks in advance!