Skip to content

Requesting UWP ARM64 (HoloLens 2) Support / Missing UWP build of livekit_ffi.dll #181

@ironhand221

Description

@ironhand221

Hello LiveKit Team,

First, thank you for the great work on the Unity SDK. I'm trying to integrate it into a Microsoft HoloLens 2 application, which is a UWP ARM64 platform.

Problem:
The SDK fails to initialize on HoloLens 2 because the provided livekit_ffi.dll (from the ffi-windows-arm64 folder) is compiled for the Windows Desktop (subsystem: Windows GUI) and is not compatible with the UWP/Windows Store (subsystem: Windows CUI) runtime environment on HoloLens.

The error in Unity (IL2CPP) is:

text
DllNotFoundException: Unable to load DLL 'livekit_ffi'... Failed to open the requested dynamic library (0x06000000) - The specified procedure could not be found. (WinError:0000007f)
Using dumpbin confirms the mismatch:
subsystem (Windows GUI)

What I've Tried:

Ensured InternetClient and InternetClientServer capabilities are enabled.

Manually placed the livekit_ffi.dll into Assets/Plugins/WSA/ARM64/ with correct import settings (only WSAPlayer enabled, SDK: Universal 10, CPU: ARM64).

The DLL is correctly included in the final .appx package, but fails to load with the above error, which changes from 0x7e (module not found) to 0x7f (procedure not found) after correct deployment.

Question / Feature Request:
Does the LiveKit Unity SDK officially support UWP ARM64, particularly for HoloLens 2? If so:

Could you please provide the correct UWP-compatible build of livekit_ffi.dll?

Or, are there any build instructions or forks for generating the UWP version of the native library?

If it's not currently supported, is there a plan to add UWP ARM64 support in the future? This would be invaluable for mixed reality applications.

Thank you for your time and consideration.

Environment:

Unity Version: 2022.3.x (using IL2CPP, .NET Standard 2.1)

LiveKit Unity SDK Version: livekit-ffi@0.12.43

Target Platform: Universal Windows Platform (UWP), ARM64

Device: Microsoft HoloLens 2

Thank you for your time and support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions