# World Locked VR Stereo Layer Shifting On Gear VR

**URL:** <https://forums.unrealengine.com/t/world-locked-vr-stereo-layer-shifting-on-gear-vr/416993>\
**Category:** XR Development\
**Tags:** GearVR, stereo-layers, unreal-engine, question\
**Created:** [February 11, 2018, 3:40am UTC](https://forums.unrealengine.com/t/world-locked-vr-stereo-layer-shifting-on-gear-vr/416993 "2018-02-11T03:40:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Krxtopher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krxtopher](https://forums.unrealengine.com/u/Krxtopher)\
**Post date:** [February 11, 2018, 3:40am UTC](https://forums.unrealengine.com/t/world-locked-vr-stereo-layer-shifting-on-gear-vr/416993/1 "2018-02-11T03:40:59Z")

</div>

I’m working on a Gear VR project and trying to use a world-locked VR stereo layer (quad) to display a text texture at a fixed position in the world. But I’m experiencing unexpected behavior.

If I run the game using the Engine’s “DefaultPawn”, the positioning of texture works correctly - it stays firmly rooted to the world location it is supposed to. However, if I run the game with a simple custom pawn that follow’s Epic’s recommended structure for VR pawns (shown below) then the texture shifts side to side as I turn my head. Deleting the camera component from the pawn fixes the problem but is not an acceptable solution (I’ll need to attach other elements as children of the camera later.)

Anyone know how to fix this issue? Ideas on what I may be doing wrong?

**Intended Behavior** (occurs with DefaultPawn or custom pawn that has no camera component). Notice the gap between the text on the left and monitor on the right is constant…

![230217-good.gif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/f/2/4f2f618b72d9645b8377fd516c72cbdf8c1487c1.gif)

**Observed Behavior** (occurs when using Epic’s recommended VR pawn structure). Notice the gap between the text on the left and monitor on the right grows and shrinks as I turn my head…

![230218-bad.gif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/e/7/1e76211761888d04e1b7d0925973e297f843f8de.gif)

Here is the custom pawn structure I’m using in which the incorrect behavior occurs:

![230219-components.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/e/4/1e4e1100fb975451973290a95498061756a6da15.png)

…and here are the settings on the camera component:

 ![230220-camerasettings.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/3/36373c5d16a5d70ae986e42eecda3ffc6c1d0276.png)

---

<div class="post-metadata">

**Author:** ![Fieol](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fieol/32/1104383_2.png) [@Fieol](https://forums.unrealengine.com/u/Fieol)\
**Post date:** [October 10, 2018, 2:25pm UTC](https://forums.unrealengine.com/t/world-locked-vr-stereo-layer-shifting-on-gear-vr/416993/2 "2018-10-10T14:25:04Z")

</div>

Hi , any updates for this problem ?

---

<div class="post-metadata">

**Author:** ![Dover8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Dover8](https://forums.unrealengine.com/u/Dover8)\
**Post date:** [March 1, 2019, 2:33pm UTC](https://forums.unrealengine.com/t/world-locked-vr-stereo-layer-shifting-on-gear-vr/416993/3 "2019-03-01T14:33:55Z")

</div>

Question, is your VR pawn rotated in the scene so that it’s starting facing the right direction? I’ve just observed this behaviour. If the VR Pawn starts at a Zero rotation, the Stereo layers behave as you expect them too. BUT, if you start with any rotation, or later create a rotation from teleporting etc. then the Stereo layers in World Tracking space will float as you move your head around.

---

<div class="post-metadata">

**Author:** ![Krxtopher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krxtopher](https://forums.unrealengine.com/u/Krxtopher)\
**Post date:** [March 1, 2019, 3:37pm UTC](https://forums.unrealengine.com/t/world-locked-vr-stereo-layer-shifting-on-gear-vr/416993/4 "2019-03-01T15:37:54Z")

</div>

The issue I was experiencing was fixed in a later version of Unreal Engine.

---

<div class="post-metadata">

**Author:** ![Krxtopher](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Krxtopher](https://forums.unrealengine.com/u/Krxtopher)\
**Post date:** [March 1, 2019, 3:38pm UTC](https://forums.unrealengine.com/t/world-locked-vr-stereo-layer-shifting-on-gear-vr/416993/5 "2019-03-01T15:38:42Z")

</div>

Dover8, I just posted an “answer” to my original question. The issue I was experience was fixed in a later version of Unreal Engine.

---

<div class="post-metadata">

**Author:** ![cyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cyx](https://forums.unrealengine.com/u/cyx)\
**Post date:** [February 22, 2021, 6:22am UTC](https://forums.unrealengine.com/t/world-locked-vr-stereo-layer-shifting-on-gear-vr/416993/6 "2021-02-22T06:22:04Z")

</div>

This issue is resolved in which engine version？

---

<div class="post-metadata">

**Author:** ![kerosene350](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kerosene350](https://forums.unrealengine.com/u/kerosene350)\
**Post date:** [February 28, 2021, 5:25pm UTC](https://forums.unrealengine.com/t/world-locked-vr-stereo-layer-shifting-on-gear-vr/416993/7 "2021-02-28T17:25:56Z")

</div>

if you are having that issue look at the Mitch’s tutorial for Stereo Layers.  
AT least I had to do a workaround where I use tracker locked with offset. I used world locked in an aircraft HUD and when the aircraft rotated there was odd float on the Stereo Layers (HUD). It was somewhere acknowledged to be a bug.  
tutorial here:

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/3/2d3d59bb67f5dd89bdfd456eb84ee32214e0c514.jpeg "Mitch's VR Lab Ep11 - UE4 - Stereo Layers for UI") ](https://www.youtube.com/watch?v=lxFqUDW5-fE)

at least on 4.24 I had to do this.
