Description

When Remove Instance is called for an instance static mesh component, the render state is not properly updated, causing some of the instances to not be visible.

Workaround:
Forcing a call to PostEditChangeChainProperty (ex: updating component details) will update the renderer and cause missing instances to become visible

Regression:
Yes - Provided repro steps leave 2 instances in 4.16.3 (CL 3561208)

Steps to Reproduce
  1. Open UE4 Editor (any project)
  2. Add blueprint based on Actor (ActorBP)
  3. Add InstanceStaticMeshComponent and set any mesh
  4. In class defaults, set Auto Receive Input to Player 0
  5. Setup Event Graph as shown in attached screenshot
  6. Add instance of ActorBP to the level
  7. Pie
  8. Press/release Y

Result:
Four instances are added when Y is pressed, then three instances are removed when it is released

Expected:
Only two instances are removed when Y is released

Have Comments or More Details?

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

3
Login to Vote

Fixed
ComponentUE - Gameplay - Blueprint
Affects Versions4.17.14.17.2
Target Fix4.18
Fix Commit3664690
Release Commit3664690
CreatedSep 14, 2017
ResolvedSep 26, 2017
UpdatedApr 27, 2018