Unexpected Custom Version when saving DialogueWaves

We currently cannot save any DialogueWaves in 5.8.1 with any meaningful edits.

This has been previously reported here: https://forums.unrealengine.com/t/dialogue-wave-dont-save/2730930

My notes on the issue:

Looking at the source in savepackage2.cpp, 5.8 in HarvestPackage it says:

// The Editor version is used as part of the check to see if a package is too old to use the gather cache, so we always have to add it if we have gathered loc for this asset

// We need to set the editor custom version before we copy the version container to the summary, otherwise we may end up with corrupt assets

// because we later do it on the Linker when actually gathering loc data

if (!SaveContext.IsFilterEditorOnly())

{

Harvester.UsingCustomVersion(FEditorObjectVersion::GUID);

}

With a similar comment in WriteGatherableText:

// The Editor version is used as part of the check to see if a package is too old to use the gather cache, so we always have to add it if we have gathered loc for this asset

// Note that using custom version here only works because we already added it to the export tagger before the package summary was serialized

Linker\-\>UsingCustomVersion(FEditorObjectVersion::GUID);

I suspect HarvestPackage needs to be amended:

if (!SaveContext.IsFilterEditorOnly())

{

Harvester.UsingCustomVersion(FEditorObjectVersion::GUID);

Harvester.UsingCustomVersion(FFortniteMainBranchObjectVersion::GUID);

}

But I’m out of my depth if this is the correct fix. It seems heavy handed. Any guidance or a hotfix for this issue would be appreciated.

[Attachment Removed]

Hi,

That issue was resolved with CL54892506 on UE5 Main. I’ll work with the team to get this part of a future hotfix for 5.8.

Martin

[Attachment Removed]

Oh that’s fantastic. Thank you.

[Attachment Removed]