# multiplayer multiplatform - possible replication issues with VR devices and mac or mobile

**URL:** <https://forums.unrealengine.com/t/multiplayer-multiplatform-possible-replication-issues-with-vr-devices-and-mac-or-mobile/2246322>\
**Category:** Programming & Scripting\
**Tags:** Mobile, SteamVR, oculus-vr, unreal-engine, Multiplayer, CPP\
**Created:** [December 27, 2024, 9:35pm UTC](https://forums.unrealengine.com/t/multiplayer-multiplatform-possible-replication-issues-with-vr-devices-and-mac-or-mobile/2246322 "2024-12-27T21:35:53Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [December 30, 2024, 3:48am UTC](https://forums.unrealengine.com/t/multiplayer-multiplatform-possible-replication-issues-with-vr-devices-and-mac-or-mobile/2246322/5 "2024-12-30T03:48:03Z")

</div>

> [@OrbitalZones](#):
>
> But how would you replicate hand tracking of a Quest VR pawn to a similar pawn on a mac client?

honestly i’m struggling to understand your questions and your situation.  
but ill try anyway.  
i had some experience replicating vr, and what i had to do is _manually_ replicate the information.  
the transform of all the things that transforms.

on the vr client you get that transform automatically, but then i created an actor compontent that periodically sends that to the server (wiith a tick interval \> 0). (this is the autonomous proxy only)

the server then replicates that to the clients. with rep vars or multicast unreliable rpcs (careful with this (on one version of the engine i had issues with unreliable multicasts)).

the same component, on other clients (simulated proxies) will grab those transforms and tween them. with a tick interval closer to the fps (im actually using a custom significance plugin to manage their interval based on distance).

afaik even on vr to vr replication, youll have to replicate teh info manually. since it’s client based.  
since the component is custom, it matters not if the data comes from a vr client or a desktop or mobile.

beware that setting the transform on the server, for certain things, might make your stuff “stutter”.  
so i don’t set the transform on the server. (for now until i deal with that).

how do you disable something you don’t have? you dont. you add code that doesnt crash if it’s not there.  
as long as you can make a build that’s fine.

note that ive posted this before i came up with the final implementation (what ive described above)

> [@How to replicate VR movement](https://forums.unrealengine.com/t/how-to-replicate-vr-movement/657550/6):
>
> I also needed this. After a bit of research i found that the best is to send the data via rpc to the server, and let the server replicate. someone on discord helped me clarify this. and also a friend who knows about it. " Vaei: The absolute minimum information you need to send is Location and Rotation The usable minimum probably also includes Velocity and possibly Acceleration. It would be good practice to compress the information in some manner also - possibly using an FFastArraySerialize…

there’s a plugin also, but i’m decided to make my own code for it. you might get lucky with it, but beware that what a plugin gives you is all you can do (unless you are ready to modify it), so beware the pro/cons.

> [@How to replicate VR movement](https://forums.unrealengine.com/t/how-to-replicate-vr-movement/657550/2):
>
> Hi Erez, I’m unsure about the specifics of what’s happening here, but I wanted to mention the [VR Expansion Plugin](https://vreue4.com/features). It’s my observation that this plugin is basically a prerequisite to implementing VR multiplayer. Cheers!

---

_[View the full topic](https://forums.unrealengine.com/t/multiplayer-multiplatform-possible-replication-issues-with-vr-devices-and-mac-or-mobile/2246322)._
