Skip to content

How do I obtain the OpenXR loader? #1943

Description

@kaba2

I'm trying to get Silk.NET OpenXR running simply by

using Silk.NET.OpenXR;
var api = XR.GetApi();

If I run this, I get

"System.IO.FileNotFoundException: 'Could not load from any of the possible library names! Please make sure that the library is installed and in the right place!'

I then use the debugger to examine the source of the error. The error comes from
Silk.NET.OpenXR.dll!Silk.NET.OpenXR.XR.CreateDefaultContext(string[] n) Line 3402. The contents of the n array is: ["openxr_loader.dll"]. So the error is stating it cannot find openxr_loader.dll.

Hence, I'm assuming that I should somehow install the OpenXR loader. But how?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions