Material Slot Bug #41686

Closed
opened 2014-09-01 23:27:53 +02:00 by Karja Krähwald · 7 comments

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
MaterialDisappearsBug.blend

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

**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** [MaterialDisappearsBug.blend](https://archive.blender.org/developer/F107950/MaterialDisappearsBug.blend) - 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.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @karja

Added subscriber: @karja

Added subscriber: @Ace_Dragon

Added subscriber: @Ace_Dragon

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.

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.

Added subscribers: @brita, @Moguri, @Sergey

Added subscribers: @brita, @Moguri, @Sergey

@Moguri, @brita, can you look into this report please?

@Moguri, @brita, can you look into this report please?
Member

Closed as duplicate of #24948

Closed as duplicate of #24948
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#41686
No description provided.