# Broken VR Debug Draw in 4.16 Preview 1 & 2

**URL:** <https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575>\
**Category:** XR Development\
**Tags:** unreal-engine, Rendering, question\
**Created:** [May 3, 2017, 12:26pm UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575 "2017-05-03T12:26:38Z")\
**Posts on this page:** 16\
**Page:** 1

<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:** [May 3, 2017, 12:26pm UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/1 "2017-05-03T12:26:38Z")

</div>

Debug draw is broken in 4.16 Preview 1 & 2, any debug draw object (BoxCollision, SphereCollision) set to render will draw a second warped black lined outline only in the right eye in VR.

Reproduction steps: Place a collision component in the level and set HiddenInGame to false, play the level in VR.

I believe that was also an issue in a preview build of 4.13 or 4.14 that has re-emerged.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [May 3, 2017, 8:35pm UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/2 "2017-05-03T20:35:12Z")

</div>

Hello mordentral,

Could you elaborate on what issue it is that you are experiencing and as to how it is at an inverse to what it is you would expect?

---

<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:** [May 4, 2017, 1:25am UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/3 "2017-05-04T01:25:43Z")

</div>

Any component that is rendered as a debug object has a skewed “shadow outline” of it visible in only the right eye when in VR mode as of 4.16.

I would expect this offset outline to not exist and also not be only in a single eye in VR.

---

<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:** [May 5, 2017, 4:06am UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/4 "2017-05-05T04:06:16Z")

</div>

Correction, they are visible in both eyes but with different offsets so they are not always visible in both.

Regardless the “shadow” copy should not exist to begin with.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [May 8, 2017, 8:31pm UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/5 "2017-05-08T20:31:24Z")

</div>

I ran a few tests and I was unable to reproduce this issue on our end. Could you provide a small example project that shows the issue that you are having so that I could take a closer look?

---

<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:** [May 10, 2017, 12:54am UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/6 "2017-05-10T00:54:37Z")

</div>

Below is a fresh VRTemplate example from 4.16, the only change I made was to set “HiddenInGame” to false for the overlap spheres on the motion controllers.

To reproduce - open in vr preview with motion controllers and hold near face, observe extra black lines in vision.

[https://drive.google.com/file/d/0B5cM3oP2O4-UeHZCdjJpaWtERWs/view?usp=sharing](https://drive.google.com/file/d/0B5cM3oP2O4-UeHZCdjJpaWtERWs/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [May 11, 2017, 9:08pm UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/7 "2017-05-11T21:08:59Z")

</div>

I was able to reproduce this issue on our end. I have written up a report and I have submitted it to the developers for further consideration. I have provided a link to the public tracker. Please feel free to use the link provided for future updates.

Link: [Unreal Engine Issues and Bug Tracker (UE-44947)](https://issues.unrealengine.com/issue/UE-44947)

Make it a great day

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_813c1da5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_813c1da5](https://forums.unrealengine.com/u/anonymous_user_813c1da5)\
**Post date:** [May 30, 2017, 11:09pm UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/8 "2017-05-30T23:09:35Z")

</div>

I am also experiencing this bug in 4.16 release, just drawing normal debug lines. My current workaround is to disable “Instanced Stereo Rendering” as it only appears to glitch when that option is enabled. mordentral is right, a similar [debug draw bug](https://answers.unrealengine.com/questions/480036/debug-drawing-glitched-in-vr-with-instanced-stereo.html) did appear in 4.13.

---

<div class="post-metadata">

**Author:** ![Steven.W](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Steven.W](https://forums.unrealengine.com/u/Steven.W)\
**Post date:** [June 5, 2017, 6:21pm UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/9 "2017-06-05T18:21:54Z")

</div>

Yeah got the same thing here Aadarsh. Widget interaction debug lines experience the same issue.

---

<div class="post-metadata">

**Author:** ![Cort.Soest](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cort.Soest](https://forums.unrealengine.com/u/Cort.Soest)\
**Post date:** [July 12, 2017, 4:45pm UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/10 "2017-07-12T16:45:16Z")

</div>

Hi Rudy,

Can we get a followup on the issue? We have a release approaching, and I wanted to see if we can get an ETA for a fix?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [July 14, 2017, 12:54pm UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/11 "2017-07-14T12:54:18Z")

</div>

Hello Cort.Soest,

You can use the link provided above for future updates. After taking a quick look it appears there is not an ETA as of yet on when this issue will be resolved.

Make it a great day

---

<div class="post-metadata">

**Author:** ![Bad\_Imp\_Studios](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bad_imp_studios/32/703494_2.png) [@Bad\_Imp\_Studios](https://forums.unrealengine.com/u/Bad_Imp_Studios)\
**Post date:** [September 24, 2017, 5:05pm UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/12 "2017-09-24T17:05:39Z")

</div>

Hi this problem is still persisting in 4.17.1 Thanks

---

<div class="post-metadata">

**Author:** ![lennysunreal](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lennysunreal/32/984341_2.png) [@lennysunreal](https://forums.unrealengine.com/u/lennysunreal)\
**Post date:** [September 26, 2017, 2:17am UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/13 "2017-09-26T02:17:17Z")

</div>

This is broken again in 4.171

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_e729f54e](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_e729f54e](https://forums.unrealengine.com/u/anonymous_user_e729f54e)\
**Post date:** [September 26, 2017, 2:04pm UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/14 "2017-09-26T14:04:25Z")

</div>

After seeing multiple reports of this occurring in 4.17, it appears that there is some confusion with the public tracker. I double checked the link above and it appears that the current target fix for this issue is 4.18. I have provided a screen shot of the tracker as of (9/26/2017). I hope that this information helps clear things up.

 ![214789-targetfixhelp.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/3/0/7300ef1a6a50d5165b6e1e7e23391f33b4dff301.png)

---

<div class="post-metadata">

**Author:** ![6r0m](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/6r0m/32/1194563_2.png) [@6r0m](https://forums.unrealengine.com/u/6r0m)\
**Post date:** [October 2, 2017, 7:52am UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/15 "2017-10-02T07:52:26Z")

</div>

4.17.2 issue not fixed, make sure that you tested in instanced stereo enable mode.

update: sorry for bump - confused by word Fixed (  
may be better create new status - Fixed in 4.18 at once together )

---

<div class="post-metadata">

**Author:** ![MOTYSHIZ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MOTYSHIZ](https://forums.unrealengine.com/u/MOTYSHIZ)\
**Post date:** [September 7, 2022, 1:12am UTC](https://forums.unrealengine.com/t/broken-vr-debug-draw-in-4-16-preview-1-2/392575/16 "2022-09-07T01:12:04Z")

</div>

This is broken in 4.27.2 for Quest 2 builds with Mobile Multi-View on. I haven’t experienced this issue with Desktop VR.
