Hello everyone! I use FObjectWriter to serialize a UObject to TArray buffer, then I use FObjectReader to reproduce the UObject, it works fine in engine editor. But when I close the engine then reopen it, the same TArray buffer cannot reproduce the UObject, always error value on some properties, anyone know this?
Found the reason: Caused by FName serialization, by default the FObjectWriter and FObjectReader serialize FName by it’s id, but FName’s id is generated since engine start, so when reopen the engine the FName’s id will change, then deserialize action fails. Now I just serialize FName by FString.