Description

When removing instances from an ISMC, indices / indexes returned from AddInstance will be invalidated. This can cause issues for users that want to do custom management of instances. Using something like a TMap keyed off of uint32 where the ID is just a running counter could solve this issue.

Steps to Reproduce
  1. Create a new BP only project.
  2. Create an actor with an Instanced Static Mesh Component.
  3. Assign some mesh to the ISMC.
  4. Recreate the BeginPlay events in the attached image.
  5. Add the Actor to a world and PIE.

Expected: The transform will be retrieved successfully
Actual: The transform cannot be retrieved.

Have Comments or More Details?

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

0
Login to Vote

Won't Fix
ComponentUE - Gameplay
Affects Versions4.124.134.14
Target Fix4.16
CreatedOct 26, 2016
ResolvedJan 27, 2017
UpdatedApr 27, 2018
View Jira Issue