Legacy persistent data cannot be used.

An error occurs when publishing that says:

“Verse persistent data is not backward compatible with the currently active version, so this version cannot be published. Please publish a new version from UEFN that is compatible with the currently active version.”

In the Verse file I created, I’m using the following declaration:

persistable_agent_data := class:

It seems that this part is causing the issue.

This problem started happening after a recent update, so I would appreciate a solution as soon as possible.

If your island at any published point has verse persistence data YOU CANT publish a new version with that data not being there. You will need to get the verse to be exactly like how it was when you published the map

In my case, the following part was causing an error, but I haven’t made any changes to it:
persistable_agent_data := class<final><persistable>:
Does this mean that I’m not allowed to make any changes to this part throughout the entire Verse file?

Could you take a screenshot of what creator portal told you and what your verse code had?


Here is the part where the error occurs.

Try renaming this

to this CurreentHP

Thanks to your guidance, I realized the issue.

I had mistakenly written “CurrrentHP” instead of “CurrentHP” throughout the code when publishing.
Without realizing it, I had corrected all instances to “CurrentHP,” and then forgot that I had made this change.

Could this have been the cause of the entire issue?

1 Like

Possibly

I didn’t know that the persistent data part must not be changed after publication.
Thank you very much for letting me know.

1 Like

No Problem

1 Like