Closed MSU-PV closed 1 month ago
Sorry, we’re not going to write your app for you. We also don’t support MAUI at this time, only .NET 8 Android. Also we do not control the Evergine package. Finally, if you want something like this to be developed, please consider taking out a paid sponsorship.
Summary
Hi,
I am trying to solve unexpected problems when using OpenXR in the MAUI application with Silk.NET NuGet packages on Android.
I prepared a minimalist demo to check the possibility of using Silk.NET for our business, but I couldn't find a working constellation for it.
Steps to reproduce
Create a default MAUI application in the Visual Studio 2022:
![04 Create default MAUI](https://github.com/dotnet/Silk.NET/assets/119041038/35babcdc-ca67-44ff-a2c7-abf33071bbd7)
To avoid the possibility that we are missing a NuGet package, we will install all of them from Silk.NET:![05 Install All NuGets from Silk NET](https://github.com/dotnet/Silk.NET/assets/119041038/a4967071-6041-4c70-84fa-b07dbd992bd8)
Set the project to the Unsafe code:![06 Set Unsafe code](https://github.com/dotnet/Silk.NET/assets/119041038/ad943d69-edc1-4027-8e89-ecfac0e408e3)
Edit the code to get the OpenXR Extensions:![07 Edit code to get OpenXR extensions](https://github.com/dotnet/Silk.NET/assets/119041038/735e4e2f-5a7c-4070-8de1-2e8ca60c2af3)
Run the application:![08 Run the MAUI app on Windows](https://github.com/dotnet/Silk.NET/assets/119041038/8809d28a-74fc-41de-b960-306943852c35)
Click on the button Click me:
This is the first one I would like to ask how to solve this?
I found the solution in installing a NuGet package Evergine.OpenXR:![10 Try install NuGet Evergine OpenXr](https://github.com/dotnet/Silk.NET/assets/119041038/193e4557-01d5-45c2-841a-c7594ba9fe3f)
Run the app with Evergine.OpenXR:
It works.
![12 Run with NuGet Evergine OpenXr](https://github.com/dotnet/Silk.NET/assets/119041038/385ddcab-6d65-4d93-abce-36f277495b3c)
Run another sample app with all known work-arounds:
It works without exception, but it doesn't load any OpenXR extensions.
Comments
Want some information?
As a solution, it would be enough for me if you create a minimalistic MAUI application in which OpenXR support would work.