DirectX VR issues in 4.20
I'm getting this weird graphical issue after starting my game in VR mode. There's a sort of pattern across my screen, and it affects most 3D graphics: The VR preview window, the editor, thumbnails and packaged builds. 2D images also seem to be affected.
The pattern looks a lot like the distortion the Unreal Engine applies to VR games.
The preview builds for 4.20 worked just fine, and right now I'm using version 4.19. But I can't get 4.20 to work properly.
I've tried reinstalling the Unreal Engine, creating blank new projects, deleting all light sources, updating my graphics card driver and clearing my DerivedDataCache.
Does anyone have an idea what might be causing this? I'm using Windows 10, and AMD R9 390 graphics card and an Oculus Rift. Was there some big change in the release build of 4.20?
Edit: Taking a HighResScreenshot (while not in VR mode) resolves the issue until I enter VR mode again. Which doesn't really help, but still...
Another edit: Vulkan and OpenGl do not have the issue I described. However, unlike DirectX 11 or 12, But some materials do not compile and I get frequent crashes - so I can't simply switch to using Vulkan.
More edits (Not giving up yet): 4.20 introduced some mixed reality features, which seems like the only new VR feature. But all the mixed reality features are part of a new plugin... so it's probably not related..?
Edit 4: Click to view my DxDiag. Tried rolling back my drivers, hasn't helped. :<
Edit 5: Here's another picture.
Final edit: I've submitted a new question in the rendering section of the Answerhub. You can find it here. It contains some new things I've learned. Hopefully I'll get a few more replies as well - ortroll, you've been very helpful. Thank you for reading though my stuff.
(Duplicate answer from my other post)
Edit: It's an AMD driver bug. Disable "Flags.bCompositeDepth" in "Oculus\OculusVR\Source\OculusHMD\Private\OculusHMD_Settings.cpp"
After the issue was marked as "Won't fix", as a last resort, I tried to find the bug myself.
I found it. So here it is. Reverse this commit and compile your own version of the Unreal Engine.
Here are the instructions for getting GitHub access to the source code.
I'm having this exact same issue. I can confirm its an issue with 4.21 as well and only seems to affect AMD cards. I'm currently stuck waiting for a fix since there is no way for me to really downgrade.
answered Sep 14 '18 at 11:55 PM
One temporary solution I've found is to use the previous version. If you use 4.19 it works. The only issue is whether this will persist into future updates. If so that is pretty bogus considering I bought this computer to be Oculus ready and start developing games. It would be a shame if they just lost support for us out of the blue like that.
answered Oct 15 '18 at 03:40 AM
I change Flags.bCompositeDepth to false and Build new Release but problem not fix :(
answered Feb 05 '19 at 10:21 PM
JUDGE DREDD VR
Follow this question
Once you sign in you will be able to subscribe for any updates here