Problem: MonoGame 3.8 integration into .NET Maui for Android platform #27574
Unanswered
arothe0815
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How can one integrate the famous MonoGame 3.8 C# rendering API with .NET Maui Apps on Android?
My (urgent) problem:
All my trials to initialize MonoGame 3.8.1105 from a Maui App (e.g. via a derived GLSurfaceView UI control), which uses OpenGL-ES as hardware backend for rendering, are failing to initialize MonoGame's top-level Game() class or a separated GraphicsDeviceService(Game) with a NullReferenceException of unknown origin/root-cause from within the MonoGame library!
Question:
Are there any suggestions or experiences on how to integrate MonoGame more successfully into .NET-Maui on Android, ideally a small code example, if existent. What could be the potential technological limitation causing the GraphicsDeviceService initialization to fail, given that the OpenGL-ES initialization appears to work, hence marking intact availability of the GPU hardware to the App itself?
Many thanks for your considerations and help in advance and in any case! Andreas
Beta Was this translation helpful? Give feedback.
All reactions