x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

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.

alt text

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?

Thanks!

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. alt text

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.

Product Version: UE 4.20
Tags:
more ▼

asked Aug 28 '18 at 08:00 PM in Installation & Setup

avatar image

daalta
18 1 5 7

avatar image ortroll Aug 30 '18 at 08:57 AM

What driver version you're using? Is this Nvidia or AMD GPU?

avatar image daalta Aug 30 '18 at 09:03 AM

Thank you for the answer. As I said in the post, I'm using an AMD R9 390 and the latest graphics drivers (18.8.2). I'm only having trouble when using DirectX and the release build of 4.20. (Edit: Vulkan breaks some materials, but the pattern's disappeared)

avatar image ortroll Sep 04 '18 at 02:30 PM

4.20 actually introduced translucency support for instanced stereo rendering. I'm still thinking for what might be the reason.

avatar image daalta Sep 04 '18 at 07:02 PM

Wow, that's interesting. Instanced stereo is disabled on my system, but that might explain why my depth buffer also looks messed up. (Edit: To clarify, the instanced stereo setting has no effect on my problem)

avatar image MuellerSci Oct 10 '18 at 08:50 PM

I'm having this issue as well. I really hope a fix is found soon... It's already been almost a month since the most recent answer... This is the best I could get the corruption to look after much experimentation.

alt text

weird-graphics.jpg (48.1 kB)
avatar image daalta Oct 14 '18 at 10:00 AM

Epic have closed the issue, saying they won't fix it.

I'm messaging them right now, hopefully they'll revisit this. I'd love to develop in a UE version newer than 4.19.

I'd at least be happy to find out the reason why they're not willing to fix it. Perhaps there's an issue reproducing the issue, but your screenshot shows exactly the same issue I'm having. Have you been in contact with Epic yet?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

5 answers: sort voted first

(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.

https://github.com/EpicGames/UnrealEngine/commit/bd51b2429fb5512e30d21d6e9199843c400c1557

Here are the instructions for getting GitHub access to the source code.

https://www.unrealengine.com/en-US/ue4-on-github

more ▼

answered Oct 14 '18 at 08:01 PM

avatar image

daalta
18 1 5 7

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here https://issues.unrealengine.com/issue/UE-64034 . You can track the report's status as the issue is reviewed by our development staff.

more ▼

answered Sep 12 '18 at 07:31 PM

avatar image

Alex O ♦♦ STAFF
2.6k 4 8 10

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered Sep 14 '18 at 11:55 PM

avatar image

christianled59
20 4 9 13

avatar image daalta Sep 15 '18 at 09:03 AM

Glad to hear I'm not alone.

As Alex said, they're working on it. But consider upvoting the issue (UE-64034), maybe it'll get fixed sooner :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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.

more ▼

answered Oct 15 '18 at 03:40 AM

avatar image

MuellerSci
6 1 1

avatar image daalta Oct 15 '18 at 10:02 AM

I'm using 4.19 as well at the moment. Check my other answer for a way to get newer version to run without the bug.

I hope Epic reopens the issue and fixes it.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I change Flags.bCompositeDepth to false and Build new Release but problem not fix :(

more ▼

answered Feb 05 '19 at 10:21 PM

avatar image

JUDGE DREDD VR
16 2 6

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question