Description

When adding multiple Hierarchical Instanced Static Meshes on a loop and packaging the project in Shipping configuration the application crashes due to LowLevelFatalError [Link Removed] [Line: 1431] Null SRV (resource 0 bind 0) on UB Layout None. This does not occur in Development Configuration. It also doesn't occur when adding only 1 HISM or when adding multiple normal Static Meshes at runtime. 

This also doesn't occur in //UE4/Release-4.25 @ CL 14469661 and this did not occur, so marking as a Regression

Steps to Reproduce
  1. Make new First Person Character project
  2. Create Actor and add actor to level
  3. Add HierarchicalInstancedStaticMesh component
  4. Set the static mesh to 1M_Cube
  5. In the Event Graph create an Event Begin Play node
  6. Add a For Loop Node with a Last Index of 1 or higher
  7. Add an Add Instance Node with the target set to the HierarchicalInstancedStaticMesh component
  8. Plug in any transform into the Instance Transform pin
  9. Package the project for Windows in shipping configuration
  10. Open the packaged application

RESULT:
The application crashes with "LowLevelFatalError [Link Removed] [Line: 1431] Null SRV (resource 0 bind 0) on UB Layout None"

EXPECTED:
The application would play as intended

Callstack

LowLevelFatalError [Link Removed] [Line: 1431] Null SRV (resource 0 bind 0) on UB Layout None

Have Comments or More Details?

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

14
Login to Vote

Fixed
Fix Commit15747608
Main Commit15747608
CreatedFeb 25, 2021
ResolvedMar 19, 2021
UpdatedNov 30, 2022
View Jira Issue