Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iulianatodoran opened this issue Mar 20, 2024 · 0 comments
Assignees
Labels
2.1.2 enhancement New feature or request

Comments

@iulianatodoran
Copy link
Collaborator

iulianatodoran commented Mar 20, 2024

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 iulianatodoran added the enhancement New feature or request label Mar 20, 2024
@iulianatodoran iulianatodoran changed the title Handle exception for the case the IL2CPP build was created with Managed Stripping Level set to Medium or High Handle exception for the case the IL2CPP build was created with Managed Stripping Level set to a higher value than Minimal Apr 26, 2024
@gomboskriszta15 gomboskriszta15 self-assigned this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.1.2 enhancement New feature or request
Projects
None yet
2 participants