Hi,
I’d like to report that UInstancedStaticMeshComponent is not taking the Max WPO Offset into account after an instance transform update. It is correct initially after calling AddInstance(), but as soon as you call UpdateInstanceTransform(), the offset gets lost.
These are two ISMs, the left one is animated, the right one is not. Note that the bounds are wrong on the left one:
[Image Removed]
I think, the bug is that FPrimitiveSceneProxy::UpdateInstances_RenderThread doesn’t take padding into account, unlike the FPrimitiveSceneProxy::SetTransform method above. My understanding is that the proxy bounds (RT) should include padding, whereas the bounds on the component (GT) should not.
[Image Removed]
Could you please confirm whether this is the correct fix? It looks like FPrimitiveSceneProxy::UpdateInstances_RenderThread is only called for ISM components, but I’m not 100% sure.
Thank you,
Georg
PS: This affects the combined bounds for the ISM component itself. The bounds for the individual instances seem to be correct.