I’ve written a UWorldPartitionBuilder that functions as a world validation system for us, I wanted to integrate automatic fixups, and it’s kinda working. I’m able to loop over the actors in the current WP world and fix them up. However - if I grab the actors that are ALevelInstances, grab their world softobjectptr and then use it in a FScopedEditorWorld to open it up and attempt to make changes - those actors will fail to be savable. Even though I’ve tried about a million different ways it feels like to detatch the linkers to ensure it could move the old asset to tmp so it can write the new asset, it fails due to unable to being able to get a lock on the file, which means there’s still a file handle open. I *suspect* the WP system maintains locks on loaded sublevels in a way i don’t understand that’s preventing me from doing this.
I’d love any guidance on how I can solve this.