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"

Editor Viewport Rendering Bug

For several engine version so far (4.3, 4.5 and 4.6), I have been getting some strange visual glitches in the main viewport of the editor, as well as in all 3D views in other editors.

I think the issue speaks for itself: Uh, what?

As you can see, the entire viewport is heavily blurred, editor billboards are permanently rotated sideways, and everything appears to be "stretching" into the centre of the screen.

When PIE is used, it appears slightly different: The issue persists in PIE

While not stretched into the centre, it is clear that the objects are not rendering correctly. The polygons on the terrain that should be hidden are being rendered regardless, and the cube is not being rendered where it would hide the floor mesh. The heavy fogging is still present.

This issue occurs in all preview windows, such as new window and even standalone process. It also affects packaged builds of the affected projects.

As I stated before, this issue has occurred on 3 engine branches I have worked with. The issue seems to not immediately present itself when the new engine is used; rather it may take several weeks for months to present itself. For example, the issue did not present itself in 4.6.1 until today, meaning it has been working correctly on at least 2 projects until now. However, once it appears for the first time, all projects using that particular branch are so far guaranteed to have the issue within around 2-3 start-ups of the editor.

Using the buffer visualiser, I noticed the GBuffer appears to be "inverted" where it should block an object; instead, it will draw what is behind that:

GBuffer is inverted?

If it helps, my computer's specs are:
Intel i7-2860QM (2nd Gen) (2.5GHz);
NVIDIA GeForce GTX 580M 2GB;
16GB RAM;
NVIDIA Driver 335.23;

The issue makes it almost impossible to continue development on the affected projects and is extremely frustrating. Any solution or possible explanation of this bug would be greatly appreciated.

Thanks,

Andrew (Valax321)

Product Version: Not Selected
Tags:
editor_view.png (1.3 MB)
pie_view.png (1.3 MB)
gbuffer.png (132.7 kB)
more ▼

asked Jan 29 '15 at 06:26 AM in Bug Reports

avatar image

Valax321
31 2 6 7

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

2 answers: sort voted first

This issue is fixed by setting the Near-Z in the project settings to a non-zero value.

more ▼

answered Aug 23 '15 at 09:58 PM

avatar image

Valax321
31 2 6 7

avatar image Jamendxman3 Aug 24 '15 at 01:01 AM

Oh thankyou, I did set that setting to 0 last night, I guess it didn't take effect until this morning when I re-launched my project.

avatar image michaelwbell Jun 21 '17 at 05:19 PM

Thankyou Valax321, I had this issue too and had no idea what was causing it. I had set the near-Z to 0 and seen no effect, packaged a project, restarted the editor and found that both the build and in-editor view had the 'inverted g-buffer'. Setting near-clip to non-zero fixed it after a restart.

Thanks again. Hopefully people google searching for "unreal engine rendering errors" or "Viewport flipped normals", etc, will find this.

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

Hi Andrew,

When you encounter this in your projects is there anything that you're aware of that causes the change?

Is this something that doesn't replicate immediately in any new projects? If so, how long does it usually take before this starts to happen?

Do you have a simple test project that has this issue that you'd be willing to share and see if I can get the same results on my end? This can help narrow down if something may be going on hardware/driver vs Project.

Also, I see you're using the Nvidia 335 drivers. Can you upgrade your drivers to the latest version of 347.25?

Last thing, Just as a test, can you delete your saved and intermediate folders and see if this possibly resolves the issue?

Thanks!

Tim

more ▼

answered Feb 04 '15 at 10:43 PM

avatar image

Tim Hobson ♦♦ STAFF
48.9k 887 101 877

avatar image Valax321 Feb 06 '15 at 10:53 AM

Tim,

I have tested some of the options you suggested, which unfortunately, did not help. I updated my drivers just prior to your response to no avail, nor did deleting those folders help.

I also tested this further by moving the affected project to a copy of UE4 on a Mac. It presented a very similar issue, any differences most probably caused by it using OpenGL rather than DirectX. This leads me to believe that it may be project-specific rather than an issue with my PC.

As per your suggestion, I have packaged the affected project into a zip file. You may download it here: https://www.dropbox.com/s/ye0wp5c2e6wletl/ue4_shader_bug.zip?dl=0

I attempted to cause the bug on a fresh project, but after around 20 minutes of trying, I stopped. I cannot find a specific trigger for this issue. Thanks for the help,

Andrew

avatar image Tim Hobson ♦♦ STAFF Feb 06 '15 at 10:00 PM

Thank you, Andrew!

I was able to see the issue it's causing. That is a very strange one! I've submitted a ticket with this project attached for an engineer to take a look at. The reference number is UE-9360.

I'm glad you're able to work in any other projects without this one being an issue. I was able to migrate all the content to a new project that didn't cause the issue.

You may be able to do that and see if it works as well.

Thank you for your report!

Tim

avatar image Jamendxman3 Aug 23 '15 at 08:22 PM

Just had this same issue today, along with nothing rendering in the proper order, here is a post of mine: https://answers.unrealengine.com/questions/288824/whole-projects-render-ordernormals-are-inccorect.html

avatar image Valax321 Aug 23 '15 at 09:55 PM

I've actually resolved this issue (or at least my cause for it) a while ago. It was caused by setting the Near-Z value in the general project settings to 0. Resetting it to non-zero fixed the problem. Either way, this still a bug as the value shouldn't be able to go as low as 0.

(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