-
-
Notifications
You must be signed in to change notification settings - Fork 431
TriangleDroid test app crashes while trying to get GL context via SDL2 #389
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
Comments
This might be a mono bug? I found this report from 17 June. |
Can you try to obtian the version of Mono your Xamarin framework is using? Filing an issue upstream as this looks to be a Mono bug. |
Thank you for investigating. I am using Xamarin.Android 11.1.0.17 which I believe uses the Mono 6.12 runtime ( mono/mono@be2226b5a1c ). |
Thanks. This simple workaround (in the latest commit) works. |
Ah glad to hear it! |
Closing as we added a working workaround in 2.0, which is now in full release 🎉 |
Encountering the following exception while trying to run the TriangleDroid app within Labs either on an emulator (targeting API 28 / Android 9.0) or on a physical device (a Pixel 2 with API 30 / Android 11). I am using the master branch updated to the commit with no changes to the code: 5b4ab6d
$exception {System.InvalidProgramException: Invalid IL code in Silk.NET.SDL.SdlContext:AssertNotCreated (): IL_0008: cgt.un
Stacktrace:
Steps to reproduce
Normal Xamarin.Android apps work properly so I am not sure if it's a problem with my specific set up. Please let me know if any other info would be of help.
The text was updated successfully, but these errors were encountered: