check(Actor->GetOuter() == SubLevel) error using World Partition Convert Commandlet

Just fyi if anyone else hits this. Failed the check(Actor->GetOuter() == SubLevel) when running the WorldPartitionConvertCommandlet.

Ended up being ActorsToConvert containing duplicate actor pointers, which resulted in the first one’s outer being updated, then the 2nd one’s failing check as the outer had been already updated.

Fix was to make ActorsToConvert a unique array in the first ActorsToConvert.Add call above this line as well as following up behind the first ActorsToConvert = SubLevel->Actors call and ensure unique array.

1 Like