UE4->UE5 FVector Serialization - only the Best can answer!

Hey everybody!

Here’s hoping there is some of the best of the best of the best that read this question!

I have a database, I need to be able to preserve the data for as I try to update from 4.27.2 to 5.2.1. There is binary data containing FVectors using FMemoryReader and the << operator.

The problem is that it appears the deserialization process is trying to read doubles instead of floats. Stepping through, there are clear changes to the serialization process. The question would be in 2 parts:

  1. Does anybody know anything about this
  2. Is there a way to work around this, even at least to be able to read the data and then re-write it in the corrected format?

Fingers crossed someone has dealt with this! I’d really like to update to UE5, but I can’t destroy my customers’ data!

Thanks for any insight anyone might have!

So it looks like the Best of the Best of the Best trophy goes to me. After posting, it seemed reasonable to try to simply read the components individually as floats and it seems to be working.

Fret not, if there’s any further issues related to this, I’ll re-open it and perhaps YOU can be the winner of the Best of the Best of the Best trophy!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.