Page MenuHome

Material Preview (and final render in EEVEE) purple
Needs Developer to Reproduce, NormalPublicBUG

Description

System Information
Operating system: Windows-10-10.0.17763-SP0 64 Bits
Graphics card: Intel(R) HD Graphics 630 Intel 4.5.0 - Build 26.20.100.7263

Blender Version
Broken: version: 2.83.0, branch: master, commit date: 2020-06-03 14:38, hash: rB211b6c29f771
Worked: I don't remember this bug occuring in previous versions.

Short description of error
I know, that materials should become purple when the texture is missing.
But the problem is that they not behave as they should even without applying textures and also with the default material.
This bug occurs in EEVEE:

  1. In material preview in properties
  2. In render
  3. Sometimes - in viewport

In a render, it is also a problem with the scene surface material.
I attach some screenshots from material preview: they are all the same default material.

Exact steps for others to reproduce the error

  1. Open Blender
  2. Press F12 or go to material preview in object settings.
  3. ... see the bug

Event Timeline

Jacques Lucke (JacquesLucke) changed the task status from Needs Triage to Needs Information from User.Wed, Jun 17, 12:05 PM

Does it work in 2.90 builds from https://builder.blender.org/download/?
Can you update your GPU driver?

Arthur (PholaX) added a comment.EditedWed, Jun 17, 4:49 PM

For now, 2.90 crashes when I try to open material preview.

UPD: First, the preview window opens black then blender crashes in few seconds.

Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF79B85F933
Module : blender.exe
Thread : 0000186c

I've updated my driver just now.

Still I got same bug on 2.83 and crashes on 2.9 with the message.

Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF60E90F933
Module : blender.exe
Thread : 00000c38

Also I noticed that 2.9 crashes (now?) not while opening the preview pane but when I open just material settings in properties panel. But only if there is a material attached to the object.

At the same time there is nothing wrong happens when I edit material in the Shading workspace.
All is good also with editing World Properties (I changed Background to Principled BSDF and all is fine).
And there are no crashes in that case while using Cycles renderer.

Jacques Lucke (JacquesLucke) changed the task status from Needs Information from User to Needs Triage.Wed, Jun 17, 5:47 PM

Add: sometimes, in 2.9, when I tweak some some EEVEE settings an switch between render engines it doesn't crash when I open properties panel, but crashes on trying to preview material in that panel.
Can't see any pattern there though.

Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Needs Information from User.Mon, Jun 22, 10:21 AM

Thanks for the report. This might be a graphic driver issue.

To upgrade to the latest driver, see here for more information: https://docs.blender.org/manual/en/dev/troubleshooting/gpu/index.html
https://downloadcenter.intel.com/product/80939/Graphics-Drivers

Could you check if this helps?
(If not, also please check if this is also an issue with File > Defaults > Load Factory Settings)

Philipp Oeser (lichtwerk) renamed this task from Working materials become purple to Material Preview purple.Mon, Jun 22, 10:21 AM

As I wrote before (Wed, Jun 17, 5:33 PM), I have updated the graphic driver and nothing changed for better.

Also, I've noticed that you renamed the task to "Material Preview purple". It is wrong, because the bug influences not only material preview, but also a final render in EEVEE (as I stated in the description).

Philipp Oeser (lichtwerk) renamed this task from Material Preview purple to Material Preview (and final render in EEVEE) purple.Mon, Jun 22, 2:20 PM
Philipp Oeser (lichtwerk) changed the task status from Needs Information from User to Needs Developer to Reproduce.

What is the output if you launch blender using the debug and debug_gpu batch files?

What is the output if you launch blender using the debug and debug_gpu batch files?

I launched blender_debug_log. Is it a proper file? I've got some logs.

Since this came up in T78205: Material preview with eevee render engine shows pink color regardless of material settings. as well: does this only occur when resizing the panel?

No. It happens when:

  1. opening a preview (in my case the material icon becames purple here, but the preview itself often can be normal yet in 2.83)
  2. changing a Preview Render Type (it "paints" the object and the plane unpredictably, but most times it's purple every time when switching, as in screenshots in the description. For example, every part of a Shader Ball can be either grey or purple color)
  3. changing something in material shader (for example, a Base Color)
  4. using Material Preview viewport shading
  5. Render itself

So, I believe, it happens every time when there is a need to show a material

NEW INFO:
Material preview shows either grey or purple color, independent of material surface color.

Clément Foucault (fclem) changed the subtype of this task from "Report" to "Bug".Thu, Jul 2, 6:06 PM
Clément Foucault (fclem) moved this task from Backlog to Bugs on the EEVEE & Viewport board.

A little new peice of information, if it can be helpful.
Fresh Blender 2.83.1

Now, after few switches, material color starts to appear , but purple/grey problem is still there.

Digging deeper, I can see, that the problem is not only in color.

  1. I set a big value to Specular setting ("20"), and started to see that the reflexions of a floor are in a checker pattern, but floor is still pure purple
  2. I tried transmission and see that it behaves "normally" - the floor is grey checker, tinted in a material surface color (see image below. IOR set to "1", so refraction is okay here).
  3. Clearcoat setting more than "0" most time makes a material purple and opaque (and once I had a crash while changing).
  4. If Metallic setting is not "0" or "1", and transmission is "1", the material becomes purple.
  5. Anisotropic setting seems like doing nothing at all (don't know if it is supported in EEVEE)

All in Blender 2.83.1