Description

Assertion is thrown when connecting a Vertex Interpolator nod to PerInstanceCustomData node to the Result node.

Steps to Reproduce
  1. Create or open a project
  2. Create a new Material
  3. In the material editor create a Vertex Interpolator
  4. Add a PerInstanceCustomData to the Vertex Interpolator
  5. Connect the PerInstanceCustomData to the Base Color

 

Expected Results:
The connection is completed

 

Actual Results:
The editor crashes with a critical error:

Assertion failed: Index >= 0 && Index < CurrentScopeChunks->Num() [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\Materials\HLSLMaterialTranslator.cpp] [Line: 2442] 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-149759 in the post.

0
Login to Vote

Fixed
ComponentUE - Rendering Architecture - Materials
Affects Versions5.0.1
Target Fix5.1
Fix Commit21543858
Main Commit21543858
CreatedApr 20, 2022
ResolvedAug 24, 2022
UpdatedDec 2, 2022