-
-
Notifications
You must be signed in to change notification settings - Fork 444
Closed
Description
Summary
Hello, this is my first time trying your package, I am using VS 2019, and version 2.11.0 of your OpenXR bindings NuGet package.
I am interested in doing is enumeration of the OpenXR capabilities for my application (no rendering etc involved, I will not even be creating a session).
When I invoke XR.GetAPI() from my C# application, I immediately get the following error:
Exception thrown: 'System.NullReferenceException' in Silk.NET.Core.dll
Object reference not set to an instance of an object.
Steps to reproduce
- Platform: Desktop
- Framework Version: .NET 4.7.2
- API: OpenXR
- API Version: 1.0
- Create a new C# WinForms project, .NET 4.7.2
- Install NuGet package Silk.NET.OpenXR 2.11.0
- Invoke
XR.GetAPI()from the constructor of my WinForm.
Comments
I am able to start up OpenXR applications and develop OpenXR applications in C++ without issues, so this is not an issue with my OpenXR loader and setup.
Please let me know if there is something incorrect with my scenario - or if you'd like me to try something to debug.
Thanks!
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done