Skip to content

Dedicated Server crash with MetaXRInteraction plugin enabled (UE 5.6) #21

@Crowlick

Description

@Crowlick

Hello everyone,
I'm encountering a critical issue with the MetaXRInteraction plugin in Unreal Engine 5.6.

My project compiles, packages, and runs successfully on the Client side. However, the Dedicated Server crashes immediately upon startup if the MetaXRInteraction plugin is enabled.
Context:

  • Engine Version: Unreal Engine 5.6 (Meta fork)
  • OS: Windows 10

Scenario:

  • Running a packaged Dedicated Server

Reproduction:

  • Using existing project (or creating a new one).
  • Enable the MetaXRInteraction plugin.
  • Package for Windows (Server target).
  • Run the Server executable.

Even if I don't use any assets or classes from the plugin (just having it enabled), the server crashes with an Access Violation error (reading address 0x00000000).

It seems like a Null Pointer Exception. Here is a snippet of the log/callstack:

LogInit: Display: Engine is initialized. Leaving FEngineLoop::Init()
LogLoad: (Engine Initialization) Total time: 0.83 seconds
LogWindows: Error: === Critical error: ===
LogWindows: Error: 
LogWindows: Error: Fatal error!
LogWindows: Error: 
LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION 0x0000000000000000
LogWindows: Error: 
LogWindows: Error: 
LogExit: Executing StaticShutdownAfterError
LogWindows: FPlatformMisc::RequestExit(1, LaunchWindowsStartup.ExceptionHandler)
LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3, LaunchWindowsStartup.ExceptionHandler)
LogCore: Engine exit requested (reason: Win RequestExit)

It looks like the plugin is trying to initialize VR subsystems or rendering logic on the Server instance, which is headless.
Has anyone faced this issue or knows how to properly exclude the plugin from loading on the Dedicated Server?
Thanks in advance!

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