ISM regression

Render state for ISM doesn’t recreate after modification of instances list with RemoveInstance

Check attached project. There is simple blueprint which adds four instances of sphere mesh and then removes two of them.

Press PIE and you’ll see only one sphere. But ISM have two instances(check in in properties view). You can touch something(like UseDynamicInstanceBuffer checkbox) in Details panel so UInstancedStaticMeshComponent::PostEditChangeChainProperty will be called and voila!! second sphere become visible too.

4.15, 4.16 doesn’t have this bug.

[link text][2]

Hey moadib-

Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here Unreal Engine Issues and Bug Tracker (UE-49757) . You can track the report’s status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

Cheers

I posted a answer exactly like this: UpdateInstanceTransform() works in PIE but not Packaged builds in 4.17 - Blueprint - Unreal Engine Forums