# VR shaky distorted image after update to ue4.21

**URL:** <https://forums.unrealengine.com/t/vr-shaky-distorted-image-after-update-to-ue4-21/439428>\
**Category:** XR Development\
**Tags:** oculus-vr, update, unreal-engine, question, distortion\
**Created:** [December 13, 2018, 11:45am UTC](https://forums.unrealengine.com/t/vr-shaky-distorted-image-after-update-to-ue4-21/439428 "2018-12-13T11:45:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_279a83111](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_279a83111](https://forums.unrealengine.com/u/anonymous_user_279a83111)\
**Post date:** [December 13, 2018, 11:45am UTC](https://forums.unrealengine.com/t/vr-shaky-distorted-image-after-update-to-ue4-21/439428/1 "2018-12-13T11:45:07Z")

</div>

Hi,

We have recently updated our project from 4.19 to 4.21 and now an image is a little shaky in VR. Everything was working smoothly before an update. Anyone else had any problems like this?

Also, shaking can be noticed in a preview screen if you set “vr.SpectatorScreenMode = 3”. It is not visible in any other modes.

Thanks.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_27868e42](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_27868e42](https://forums.unrealengine.com/u/anonymous_user_27868e42)\
**Post date:** [December 17, 2018, 7:30pm UTC](https://forums.unrealengine.com/t/vr-shaky-distorted-image-after-update-to-ue4-21/439428/2 "2018-12-17T19:30:56Z")

</div>

Need this too!!!

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_942e8e52](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_942e8e52](https://forums.unrealengine.com/u/anonymous_user_942e8e52)\
**Post date:** [December 17, 2018, 8:20pm UTC](https://forums.unrealengine.com/t/vr-shaky-distorted-image-after-update-to-ue4-21/439428/3 "2018-12-17T20:20:06Z")

</div>

Hey guys,

I’m not seeing what you’re describing. What are the steps to reproduce this in a new project?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_279a83111](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_279a83111](https://forums.unrealengine.com/u/anonymous_user_279a83111)\
**Post date:** [December 18, 2018, 12:50pm UTC](https://forums.unrealengine.com/t/vr-shaky-distorted-image-after-update-to-ue4-21/439428/4 "2018-12-18T12:50:15Z")

</div>

In my case, HMDPawn BP has UsePawnControllerRotation enabled for a CameraComponent: [Screenshot by Lightshot](http://prntscr.com/lwhb32)  
Location of the HMD is updated from live motion capture data.

Note: If I enable an option LockToHMD, there will be no lag, but it is a not a solution for me because it ads an unnecessary HMD location displacement.

Note: Everything was working fine in UE4.19 and no changes were made to Pawn or PlayerController.

P.S.  
We are using Oculus HMD

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_279a83111](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_279a83111](https://forums.unrealengine.com/u/anonymous_user_279a83111)\
**Post date:** [December 18, 2018, 2:42pm UTC](https://forums.unrealengine.com/t/vr-shaky-distorted-image-after-update-to-ue4-21/439428/5 "2018-12-18T14:42:56Z")

</div>

So I have found an issue. Had to create a custom CamerComponent class (inherited of UCameraComponent) and override GetCameraView method.

This was a solution for me: [VIVE HMD Lag When 'Lock To HMD' is Set to Off in 4.20. - XR Development - Epic Developer Community Forums](https://answers.unrealengine.com/questions/818098/vive-hmd-lag-when-lock-to-hmd-is-set-to-off-in-420.html)
