Page MenuHome

eevee not showing multi material object properly when blend is loaded until mesh is updated
Open, Confirmed, HighPublic

Description

System Information
Operating system: Linux-4.13.10-041310-generic-x86_64-with-debian-stretch-sid 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.67

Blender Version
Broken: version: 2.81 (sub 2), branch: master, commit date: 2019-08-16 13:02, hash: rB078d02f55743
Worked: rB4074ab361e13

Short description of error
I have an object with 3 material slots and a different material on each slot. When the blend is loaded in SOLID shading mode, and you switch to lookdev or rendered mode with eevee being the rendered, the material of the last slot is shown covering the entire mesh, when in reality only a few polygons have that slots material index assigned. If you update the mesh, either by going manually into edit mode, or by running obj.data.update() the material's are updated and shown properly - until the blend is loaded again.

Exact steps for others to reproduce the error

  • load the blend file above
    • if you are loading it without UI, make sure you are in SOLID shading
  • switch to lookdev or rendered shading
    • note how the entire object is metallic
  • go into edit mode
    • note how the materials update and all three are now shown on different parts of the model

Related Objects

Event Timeline

Bug reproduced using the linked .blend:

Cannot reproduce (rBf041d2f1163c), immediate multiple materials here...

Philipp Oeser (lichtwerk) triaged this task as Needs Information from User priority.Aug 21 2019, 10:27 AM

Seeing I have a newer driver than both of you: mind checking if upgrading the drivers fixes the problem?

It's confirmed here.

Windows 10
GTX 1070 - driver(430.86)

MACHIN3 (MACHIN3) added a comment.EditedAug 21 2019, 10:51 AM

I have just confirmed it on Windows as well, with newer drivers than yours @Philipp Oeser (lichtwerk)

renderer:	'Quadro P4000/PCIe/SSE2'
vendor:		'NVIDIA Corporation'
version:	'4.5.0 NVIDIA 431.02'

You need to make sure you are loading the scene while in SOLID shading or with the Load UI option enabled.

Philipp Oeser (lichtwerk) raised the priority of this task from Needs Information from User to Confirmed, Medium.

Ah, here we go, I can reproduce loading having Load UI ON.
Thx everyone for poking.
[ still cannot reproduce having Load UI OFF -- even though in SOLID, but I guess that is not mandatory for calling this a bug :) ]

Anyways: would kindly ask @Clément Foucault (fclem) to have a look here...

Have to repopen this, doesnt seem fixed for me (and has been reported again in T69329: Eevee: Only one material is displayed before enter in Edit mode when mesh has multiple materials)
@Clément Foucault (fclem): mind checking again?

@Clément Foucault (fclem) : I have added this to 2.81 milestone (since it was set to "High"), mind checking again?

Edit THE cube, Duplicate it in edit mode, create new material and assign new material to the new one. The second material won't show up in Eevee

The bug I encounter is the same as in T70106

The bug I encounter is the same as in T70106

Bitches be loco.