# VR Expansion Plugin

**URL:** <https://forums.unrealengine.com/t/vr-expansion-plugin/68709>\
**Category:** XR Development\
**Tags:** unreal-engine\
**Created:** [July 11, 2016, 6:16pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709 "2016-07-11T18:16:57Z")\
**Posts on this page:** 20\
**Page:** 255

<div class="post-metadata">

**Author:** ![APOCRS1980](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/apocrs1980/32/1002276_2.png) [@APOCRS1980](https://forums.unrealengine.com/u/APOCRS1980)\
**Post date:** [January 1, 2025, 3:16pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5203 "2025-01-01T15:16:16Z")

</div>

I have an issue with the advanced sessions plug in where no one can find a created server over Steam.  
everything works fine locally in 5.5.1.  
I have assured that my app ID is applied in the correct files engine.ini and steam\_appid.txt.

I’m not sure what else can be done to fix the issue.

---

<div class="post-metadata">

**Author:** ![dotbenj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@dotbenj](https://forums.unrealengine.com/u/dotbenj)\
**Post date:** [January 1, 2025, 5:32pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5204 "2025-01-01T17:32:42Z")

</div>

Hi there, I have an issue trying to launch the VRexpExemple my headset is tracked but not my controllers.  
My setup is Windows with meta air link and an oculus 3. Does anyone had this issue and know how to fix it ?

---

<div class="post-metadata">

**Author:** ![IgorLev118](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@IgorLev118](https://forums.unrealengine.com/u/IgorLev118)\
**Post date:** [January 8, 2025, 3:11pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5205 "2025-01-08T15:11:20Z")

</div>

LogNetPlayerMovement: Warning: CreateSavedMove: Hit limit of 96 saved moves (timing out or very bad ping?)… Anyone notice this issue?

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [January 10, 2025, 1:43pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5206 "2025-01-10T13:43:44Z")

</div>

That happens when the character movement component cant get acknowledged moves fast enough to keep up with the send rate. Either you are testing with something like 1000 ping, or you have a lot of movement corrections going on.

---

<div class="post-metadata">

**Author:** ![zarraq](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@zarraq](https://forums.unrealengine.com/u/zarraq)\
**Post date:** [January 30, 2025, 1:09am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5207 "2025-01-30T01:09:44Z")

</div>

VRExpPluginExample could not be compiled. Try rebuilding from source manually.  
what should I do?

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [January 31, 2025, 1:21pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5208 "2025-01-31T13:21:23Z")

</div>

The example has to be built in visual studio, the website has a tutorial on doing so starting from step 6 here: [VR Expansion Plugin Documentation – VR Expansion Plugin](https://vreue4.com/documentation?section=installation)

---

<div class="post-metadata">

**Author:** ![9Evgeny9](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@9Evgeny9](https://forums.unrealengine.com/u/9Evgeny9)\
**Post date:** [January 31, 2025, 2:01pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5209 "2025-01-31T14:01:34Z")

</div>

Is it possible, use VR Expansion Plugin in UE with Oculus Quest 3 and enabled MetaXR plugin? Mostly interested in multiplayer part. I mean maybe some conflict occurs?  
In project settings I choose XR API “Oculus OVRPlugin + OpenXR backend” option.  
 ![изображение](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/0/e00e1b8d8b5bf58b4c8e1c29183be580193bdebf.png)

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [February 3, 2025, 1:31pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5210 "2025-02-03T13:31:57Z")

</div>

No conflict, VRE uses whatever runtime is active. I will say that oculus hybrid mode there does not behave like actual native OpenXR though so tracking and stuff won’t be the same and you have to account for the offsets.

Someday they are supposed to fully support native openXR and that will hopefully no longer be an issue, I know the hybrid mode people use for some specific features not available in native openXR.

---

<div class="post-metadata">

**Author:** ![PabloNajurieta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PabloNajurieta](https://forums.unrealengine.com/u/PabloNajurieta)\
**Post date:** [March 4, 2025, 4:27pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5211 "2025-03-04T16:27:10Z")

</div>

Hi, I am having some issues building it from source, any chance to get it as a release in Github like it used to be available?

Thanks.

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [March 6, 2025, 9:17pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5212 "2025-03-06T21:17:03Z")

</div>

? It has a github branch for every single engine version. If you mean precompiled binary releases, they are on [vreue4.com](http://vreue4.com) under binaries in the menu

---

<div class="post-metadata">

**Author:** ![PabloNajurieta](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@PabloNajurieta](https://forums.unrealengine.com/u/PabloNajurieta)\
**Post date:** [March 19, 2025, 8:41am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5213 "2025-03-19T08:41:41Z")

</div>

Perfect, that’s what I meant! Thank you very much!

---

<div class="post-metadata">

**Author:** ![Mbit](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mbit](https://forums.unrealengine.com/u/Mbit)\
**Post date:** [March 26, 2025, 6:16pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5214 "2025-03-26T18:16:41Z")

</div>

@mordentral how can I slow down the controllers’ movement?  
now the hand movement is 1 to 1 with the controller.  
I want to slow down the movement of the barrel when I grab the weapon with my other hand. So that it would be harder to control the recoil (to apply more effort).

the smoothing system from gun tools, as it seemed to me, is not suitable. I need to move and turn sharply so that the control of the second hand is slowed down.

---

<div class="post-metadata">

**Author:** ![mordentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@mordentral](https://forums.unrealengine.com/u/mordentral)\
**Post date:** [April 2, 2025, 12:29pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5215 "2025-04-02T12:29:54Z")

</div>

There is front hand smoothing on the guntools which is a seperate latency added to the front hand, though I think the default is 1Euro which won’t have the drag you are looking for unless you play with the variables, its specifically intended to keep snappy movements but remove micro adjustments. You can use a customized guntools or overlay grip script to slow it down and blend it if you want.

---

<div class="post-metadata">

**Author:** ![StephanMenzelSAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StephanMenzelSAP](https://forums.unrealengine.com/u/StephanMenzelSAP)\
**Post date:** [April 14, 2025, 1:38pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5216 "2025-04-14T13:38:38Z")

</div>

@mordentral  
I hope it’s okay to ask a related question in this thread since it’s been going on for this long.

I am using VRExpansionPlugin for a C++ implementation of an industry based scenario in which VR and desktop controlled characters meet. Both use the same Character class derived from VRCharacter. I have used the example blueprints as templates and customized desktop usage a bit.

My problem is that I can’t figure out how to use the control rotation on the clients when using desktop (mouse) movement. It doesn’t seem to replicate so for desktop clients their view always snaps back after moving the mouse, whereas movement itself is okay.

For movement I use AddMovementInput(). For mouse pitch and yaw I use  
pawn-\>AddControllerYawInput(val);

What is the correct way to set the Controller pitch and yaw when using this plugin?

Edit:  
Perhaps, to clarify, I don’t explicitly need the control rotation to replicate, as long as the character rotates with it and the user’s camera doesn’t snap back after move.

---

<div class="post-metadata">

**Author:** ![Ben\_Cykyria](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ben_cykyria/32/700751_2.png) [@Ben\_Cykyria](https://forums.unrealengine.com/u/Ben_Cykyria)\
**Post date:** [April 14, 2025, 1:52pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5217 "2025-04-14T13:52:27Z")

</div>

@StephanMenzelSAP you’re wording is a bit confusing, can you please clarify whether you’re using the template characters or if you have re-implemented your own characters based on the template characters? I’ve set up and used the template for many multiplayer projects over the years and have never experienced the issue you’re describing.

One idea would be to connect to your server with the original VR 2D pawn from the template and check if the issue is there too, and work your way from there comparing the unmodified template to your character implementation.

---

<div class="post-metadata">

**Author:** ![StephanMenzelSAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StephanMenzelSAP](https://forums.unrealengine.com/u/StephanMenzelSAP)\
**Post date:** [April 14, 2025, 2:00pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5218 "2025-04-14T14:00:56Z")

</div>

Hello @Ben_Cykyria ,  
thanks for your response.

I did use the Blueprints as a baseline to get to know the plugin as the documentation appears outdated and incomplete. I kind of re-implemented most of the Blueprints in C++ and worked my way from there, gradually removing things I don’t need.  
My character class shall be uniform and capable of being possessed by desktop or VR players. So I restructured lots of things but none of these should matter much in this context.  
Currently my struggle is when the client (of a listen server) is using desktop / mouse input.

After setting the control rotation using AddControllerYawInput() the camera snaps back and I can’t figure out how to suppress this.

---

<div class="post-metadata">

**Author:** ![Ben\_Cykyria](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ben_cykyria/32/700751_2.png) [@Ben\_Cykyria](https://forums.unrealengine.com/u/Ben_Cykyria)\
**Post date:** [April 14, 2025, 2:15pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5219 "2025-04-14T14:15:59Z")

</div>

@StephanMenzelSAP this will be very difficult to track down without the code.

My uneducated guess is there’s some problem with the network authority setup of your class. Server correcting the client, but with wrong values.  
I’m afraid I can only point you to some docs that might help you track down the issue (if you haven’t read through them already of course).

“Handling Client Error and Corrections” might give you some clues perhaps

> **[Understanding Networked Movement in the Character Movement Component for...](https://dev.epicgames.com/documentation/en-us/unreal-engine/understanding-networked-movement-in-the-character-movement-component-for-unreal-engine)**
>
> Detailed explanation of how the Character Movement Component handles networked movement

Also check your network traffic with the Networking Insights tool:

> **[Networking Insights in Unreal Engine | Unreal Engine 5.5 Documentation | Epic...](https://dev.epicgames.com/documentation/en-us/unreal-engine/networking-insights-in-unreal-engine)**
>
> Overview of Networking Insights, the network performance profiling tool

Good luck!

---

<div class="post-metadata">

**Author:** ![StephanMenzelSAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StephanMenzelSAP](https://forums.unrealengine.com/u/StephanMenzelSAP)\
**Post date:** [April 14, 2025, 2:48pm UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5220 "2025-04-14T14:48:40Z")

</div>

Thank you! I figured there wasn’t much hope. My problem with the official docs is that they all cover the regular unreal classes but VRExpansionPlugin provides overrides for all. VRCharacter is there, as well as VRCharacterMovementComponent and I thought something must be different with these.

But perhaps you know this: Should it work? Should I be able to set the control rotation on the clients as described and the camera would not snap back (presumably after replication)?

---

<div class="post-metadata">

**Author:** ![StephanMenzelSAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StephanMenzelSAP](https://forums.unrealengine.com/u/StephanMenzelSAP)\
**Post date:** [April 15, 2025, 8:15am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5221 "2025-04-15T08:15:49Z")

</div>

Meanwhile, I have debugged into this quite extensively and I believe `UReplicatedVRCameraComponent` is the problem.

I use it the same for VR and desktop usage. Meaning a desktop player also looks “through it”. It replicates its position and rotation. However, when I debug into the client it would seem as if this transform is never anything other than zero, presumably because there’s no tracking and therefore no updates.

So, whenever I add pitch or yaw input, the replicated camera component rotates the camera right back to zero.

I have tried all kinds of switches like `bFPSDebugMode` which seems to be for that case but none helped.

So, I see two potential fixes:

- Replace the component by a regular camera component for desktop controlled characters
- Instead of using AddYawInput() I can try to rotate this component instead and hope it replicates

Both seem rather hacky to me.

---

<div class="post-metadata">

**Author:** ![StephanMenzelSAP](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StephanMenzelSAP](https://forums.unrealengine.com/u/StephanMenzelSAP)\
**Post date:** [April 15, 2025, 11:32am UTC](https://forums.unrealengine.com/t/vr-expansion-plugin/68709/5222 "2025-04-15T11:32:54Z")

</div>

All right, I could finally solve this puzzle.

Reason was that I have set the various settings that determine the camera component’s behavior only on the client, but not on the server where the character spawned.

Here are the settings:

```auto
VRReplicatedCamera->bUsePawnControlRotation = true;
VRReplicatedCamera->bAutoSetLockToHmd = false;
VRReplicatedCamera->bLockToHmd = false;
VRReplicatedCamera->bFPSDebugMode = true;
VRReplicatedCamera->bUpdateInCharacterMovement = false;

if (UVRCharacterMovementComponent* const cmc = Cast<UVRCharacterMovementComponent>(GetMovementComponent()))
{
	cmc->bAllowMovementMerging = true;
	cmc->bUseClientControlRotation = true;
	cmc->bRunControlRotationInMovementComponent = true;
}

```

When I set these on both client and server (as they do not replicate) it works.

My takeaways are:

- It is possible to use desktop or vr with the same `UReplicatedVRCameraComponent`
- Setting the control rotation via AddYawInput() on the client is okay

[Previous page](https://forums.unrealengine.com/t/vr-expansion-plugin/68709.md?page=254)

[Next page](https://forums.unrealengine.com/t/vr-expansion-plugin/68709.md?page=256)
