Developer Notes

Won't fix. Construction script gets ran after the per-instance settings are applied, so they'll have to add extra logic to the ConstructionScript (something like: if material is not set, etc.).

Description

When you have a multi-material mesh assigned to a blueprint in which one of the material elements is set to a Dynamic Material via the Construction Script, you lose the ability to set teh other elements when the blueprint actor is placed in the level.

Also Reproduced in 4.11 Preview 3 and Dev-Main-CL-2839874

[Image Removed]

Steps to Reproduce
  1. Create a Blank Project with No Starter Content
  2. Import the Multi-Cube.FBX with Material and Textures
  3. Create a Actor Blueprint
  4. Assign the Cube to the Actor Blueprint
  5. In the Construction Script, Create a Dynamic Material Instance and assign it to Element 0
  6. Place the Actor Blueprint into the level
  7. Assign a Material to any element slot on the Actor Blueprint in which it is not assigned already

RESULTS: Nothing

EXPECTED: The Material is assigned to the Element Slot.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint
Affects Versions4.10.24.114.12
CreatedJan 25, 2016
ResolvedJan 26, 2016
UpdatedJul 14, 2021