SetActorLocation() from c++ prior to play does not mark level dirty

I have an Actor instance in my levels that can be moved prior to play. There’s a “setup” button I created that can move them into the correct place, given their surroundings. The problem I’m having is that moving the actors in that way does not mark the level as dirty or having changed. Does anyone know a way to force the level to require a save or make the Actor itself do so?

AFAIK SetActorLocation() during BeginPlay() or after will not change the level. And you probably wouldn’t want it to.

You’ll need some data driven way to do what you are saying.

yea this is prior to BeginPlay. It’s a small nudge to position the Actor better after placement in the level

I found the solution. Modify() called on the object