# Multiplayer VR using UE5.1 and ec2 linux instance

**URL:** <https://forums.unrealengine.com/t/multiplayer-vr-using-ue5-1-and-ec2-linux-instance/771032>\
**Category:** XR Development\
**Tags:** Server, aws, oculus-vr, unreal-engine, Android, Multiplayer, question, OpenXR\
**Created:** [February 15, 2023, 6:15am UTC](https://forums.unrealengine.com/t/multiplayer-vr-using-ue5-1-and-ec2-linux-instance/771032 "2023-02-15T06:15:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![unrealSneh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@unrealSneh](https://forums.unrealengine.com/u/unrealSneh)\
**Post date:** [February 15, 2023, 6:15am UTC](https://forums.unrealengine.com/t/multiplayer-vr-using-ue5-1-and-ec2-linux-instance/771032/1 "2023-02-15T06:15:34Z")

</div>

I was creating a multi-player experience for quest using unreal engine and AWS because I saw [Building an OpenXR Enabled Unreal Engine VR Server on AWS | AWS Spatial Computing Blog](https://aws.amazon.com/blogs/spatial/building-an-openxr-enabled-unreal-engine-vr-server-on-aws/) .

I created a aws account just because of this documentation for VR multi-player.

I followed the whole documentation uploaded linux.zip to my ec2 instance created apk for my 2 quest 2 devices and side loaded it with side quest.

But I have a problem when I open the map and press the connect button my position and the whole map just resets for both of my devices (Not at the same time but after few seconds) and they don’t see each other and they don’t even see the object interaction. In short words I don’t think the multiplayer is working. There are no errors while building or launching the apk.

I am using Unreal Engine 5.1.1 and meta quest 2.

Thanks for reading and I would really appreciate everyone’s help because I am not familiar with aws much and using it because I found this documentation.

If you need any other info do tell me.

---

<div class="post-metadata">

**Author:** ![unrealSneh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@unrealSneh](https://forums.unrealengine.com/u/unrealSneh)\
**Post date:** [February 16, 2023, 4:14am UTC](https://forums.unrealengine.com/t/multiplayer-vr-using-ue5-1-and-ec2-linux-instance/771032/2 "2023-02-16T04:14:56Z")

</div>

Turns out I am not even connecting to the online map. (I changed the online map and offline map). So there is a problem with connecting to the online map.

---

<div class="post-metadata">

**Author:** ![unrealSneh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@unrealSneh](https://forums.unrealengine.com/u/unrealSneh)\
**Post date:** [February 16, 2023, 6:18am UTC](https://forums.unrealengine.com/t/multiplayer-vr-using-ue5-1-and-ec2-linux-instance/771032/3 "2023-02-16T06:18:47Z")

</div>

THE SOLUTION:  
I uploaded the project again with VRTemplate seleted and kept the powershell prompt open.

NOW everything is working except the objects interactions are not seen by other people which I will improve and keep updated.

---

<div class="post-metadata">

**Author:** ![SpaceCat86](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/spacecat86/32/634357_2.png) [@SpaceCat86](https://forums.unrealengine.com/u/SpaceCat86)\
**Post date:** [April 8, 2023, 2:34am UTC](https://forums.unrealengine.com/t/multiplayer-vr-using-ue5-1-and-ec2-linux-instance/771032/4 "2023-04-08T02:34:32Z")

</div>

Can you explain what you mean by with VRTemplate selected? I am running into a similar issue where it seems I’m not able to connect.
