SetActorLocation not updating collisions for UInstancedStaticMeshComponent?

Hey everyone,


This is a duplicate of the question asked here which didn’t get any answer while it seems to be a real problem:

It looks like other people had the same problem, so i’m trying the bug section here.


I am trying to teleport an actor containing only a scene (root component) and UInstancedStaticMeshComponent.

When using the SetActorLocation on this actor, the visible part is moved, but not the collision part.

To illustrate the problem, i used this scenario to obtain the following picture.

  • create a 3D map on the right
  • throw some dice on the map
  • move the map on the left with
    SetActorLocation(NewLocation)

Every part of the 3D map on the left is an instanced static mesh component.

As you can see, the map seems to have been moved, but the collisions remain on the right.

If i throw some new dice on the left, they go through the visible map like it’s not there.

So i am in the current situation:

  • new location: visible actor but no collisions
  • old location: invisible actor with collisions

It all happens on the server, so in principle it’s not a replication problem.

Any idea how i can fix that ?

Thanks

Cedric

Hi uced,

We noticed that this is a duplicate post of this question: SetActorLocation not updating collisions for UInstancedStaticMeshComponent? - World Creation - Epic Developer Community Forums

We will be closing this post in order to focus the discussion in one place.

Thanks,

TJ