Can't MoveTo SpawnProps That Are Structural? (Like floor tiles)

It seems we cannot 'move" certain props like floor tiles. If we do, we get the errors below. Is that correct? That only certain props can be moved?

# Generic floor tile asset
@editable var GenericFloorTile: creative_prop_asset := DefaultCreativePropAsset 

    OnBegin<override>()<suspends>:void=
        
        Tile := SpawnProp(GenericFloorTile , vector3{X := 0.0, Y := 0.0, Z := 0.0}, IdentityRotation())(0)
            if (ValidTile : creative_prop = Tile?):
                ValidTile.MoveTo(vector3{X := 0.0, Y := 0.0, Z := 1000.0}, ValidTile.GetTransform().Rotation, 4.0)

That simple move code (that works with props like the Plush toy) produces this output:

LogVerse: Warning: Devices_creative_prop_debug_log: creative_prop.MoveTo error: The object being moved is no longer valid (e.g., it has been destroyed during gameplay or disposed of by verse or 'Register with Structural Grid' was specified for it in UEFN)
LogVerse: Warning: Devices_creative_prop_debug_log: creative_prop.MoveTo error: The object being moved is no longer valid (e.g., it has been destroyed during gameplay or disposed of by verse or 'Register with Structural Grid' was specified for it in UEFN)
LogVerse: Warning: Devices_creative_prop_debug_log: creative_prop.MoveTo error: The object being moved is no longer valid (e.g., it has been destroyed during gameplay or disposed of by verse or 'Register with Structural Grid' was specified for it in UEFN)
LogVerse: Warning: Devices_creative_prop_debug_log: creative_prop.MoveTo error: The object being moved is no longer valid (e.g., it has been destroyed during gameplay or disposed of by verse or 'Register with Structural Grid' was specified for it in UEFN)

Just to rule out the obvious based on the error, the tile definitely has the Register with Structural Grid disabled in the props details tab?

tile

This is actually great to know for moving some of those structural props. Can’t change this on a dynamically spawned prop, but this is the answer I was looking for. Thanks!

1 Like