AltTester Unity SDK is an open-source UI driven test automation tool that helps you find objects in your game and interacts with them using tests written in C#, Python, Robot or Java.
An intermittent issue occurs where, after establishing a connection and checking with GetServerVersion to confirm the connection, a NullReferenceException is sometimes thrown. This issue seems to be related to threading. It's difficult to reproduce consistently, and attempts to debug via logs have not been successful. It appears that the commandParam might be set to null when trying to receive the server's response.
Steps to reproduce
Connect to the app using the Desktop.
Attempt to reproduce the issue (though it happens unpredictably).
Actual result
AR: Null Reference exception is thrown
Expected result
ER: Connection is made and you can see the information of the app in the Desktop
An intermittent issue occurs where, after establishing a connection and checking with
GetServerVersion
to confirm the connection, aNullReferenceException
is sometimes thrown. This issue seems to be related to threading. It's difficult to reproduce consistently, and attempts to debug via logs have not been successful. It appears that thecommandParam
might be set to null when trying to receive the server's response.Steps to reproduce
Actual result
AR: Null Reference exception is thrown
Expected result
ER: Connection is made and you can see the information of the app in the Desktop