Download

Getting Device ID from Client?

After a player joins the session, I want the server to make use of the “Device ID” of the client.
I am writing this Device ID at “Event Begin Play” to a variable which is set to “replicate” in the player controller.

In Game Mode “Event On Post Login” I am casting to the joined player controller to get this ID but no matter what I try, I always end up with the servers Device ID.

I also tried to create custom events, bound to a widget or my Oculus Controller but again - always the servers device ID.

What am I doing wrong? Or whats the easiest way for a server to pull a variable from a clients player controller?

Thanks
Felix

  • Are you using 4.26