Page MenuHome

Material Slot Bug
Closed, DuplicatePublic

Description

System Information
Windows 7 64, HD 5770

Blender Version
Broken: 9337574 (2.71 release) + 35bc266

Short description of error
Materials that are used by more than one object, but in different material slots:
(MeshA RedMaterial Slot1 + MeshB RedMaterial Slot 2)
disappear if they have any generate modifier assigned on its object.

There also seems to be a dependency if the faces are assigned to only one material or more than one.
I havent fully discovered the cause, but its easy to reproduce - please take a look in the file.

Exact steps for others to reproduce the error

  • Add a Cube
    • Give it a Array modifier.
    • Give it 2 Materials (use 2 different colors - more visible).
    • Assign some faces or whole mesh to Material 2.
  • Duplicate the Cube
    • Delete Slot 1 Material on Cube 2.

You now have Material2 in different slots:
Cube 1 = Slot 2
Cube 2 = Slot 1

  • Press P to start the Game Engine

Problem: Material 2 on Cube 1 doesnt show up.


The bug exists very long, i think over 3 years - finally i have found something.
Would be great if you can fix that.

Event Timeline

Karja Krähwald (karja) raised the priority of this task from to 90.
Karja Krähwald (karja) updated the task description. (Show Details)
Karja Krähwald (karja) edited a custom field.

The issue has existed since modifier support was first added (around Blender 2.49).

This doesn't happen all the time from my experience, but when it does happen you can usually fix it by applying the modifiers.

In general, applying the modifiers can also help the game run faster if it's done for larger objects.

I would generally see this as something that could use fixing, and it would be nice if it was resolved once and for all.