Download

Dedicated Server crashes when VR client joins due to Oculus' HandTracking check

I’m working on a VR multiplayer project that relies on dedicated servers, and whenever I connect to a dedicated server with a VR player, it crashes.

I’ve done this test with Desktop clients connecting, and there’s no issue. Also tested this on other projects and even tried using Oculus’ source build of 4.27.

The way I found that it was related to the Oculus plugin was running a debugger on a debug server build, which crashed and showed an error on the FOculusHandTracking::IsHandTrackingEnabled function.

I made the function return false early and this fixed the crash, but I’m concern of this making Quest hand tracking not work.

I was thinking that maybe there’s a solution that I’m missing.

Thanks.