AltTester-Unity-SDK icon indicating copy to clipboard operation
AltTester-Unity-SDK copied to clipboard

Handle exception for the case the IL2CPP build was created with Managed Stripping Level set to a higher value than `Minimal`

Open iulianatodoran opened this issue 11 months ago • 0 comments

Description

We should handle the exception raised for instrumented IL2CPP builds created in Unity with the setting from Player Settings > Other Settings > Optimization > Managed Stripping Level set to a higher value than Minimal with a more relevant exception error

  • current exception error: InvalidCommandException: Unable to find a constructor to use for type AltTester.AltTesterUnitySDK.Driver.Commands.AltGetServerVersionParams. A class should either have a default constructor, one constructor with arguments or a constructor marked with the JsonConstructor attribute.

Mocks

Additional info

  • we received a request to handle this exception from a user

iulianatodoran avatar Mar 20 '24 10:03 iulianatodoran