Issue Publishing Map – VerseBuild Error

Summary

I am unable to publish my UEFN map due to a VerseBuild error that appears during the review process. The error message says: “Script error 3643: Missing definition in source package (player_stats_table).” My project does not contain this definition anymore, so it seems to be a leftover or corrupted reference. I have already validated Verse, fully recompiled the project, and cleared temporary files, but the issue persists.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

1.	Open the UEFN project.
2.	Attempt to publish the map through the Creator Portal.
3.	Wait for the Verse review and build process to start.
4.	The publication fails, and the following error appears:

“Script error 3643: Missing definition in source package (player_stats_table).”

Expected Result

The map should successfully pass the Verse review without errors, and the publishing process should complete normally without referencing any missing or outdated definitions.

Observed Result

The publishing process fails during the Verse review, and UEFN displays the error: “Script error 3643: Missing definition in source package (player_stats_table).” The map cannot be published.

Platform(s)

UEFN (Unreal Editor for Fortnite) on PC – Windows 10

Island Code

9312-4687-7579

Upload an image

Additional Notes

I believe this may be caused by a leftover or corrupted definition in the published package, since the referenced player_stats_table does not exist anywhere in my current project. Any help with clearing or resetting this definition on your end would be greatly appreciated.

This happens when you try to publish a map that had verse-persistence in the past but has the script removed. Verse Persistence needs to be backwards compatible

After you have published the current version of your island, if you make updates to the persistable data, any stored data from a previous version of the island must be supported in later versions of the island.

Thx Mineblo, so i loose my map? :(( or how can i fix that?

You need to bring back the verse script you used when you published the map that you deleted and it should let you publish

1 Like

Hello, thank you for your response.

I already tried restoring the Verse script exactly as it was before, including recreating the same structure and names for the persistent data (player_stats_table). Unfortunately, even after adding the same code back, the map still fails to publish with the same error.

It seems that the published version of the island is still holding an older or incompatible persistent data definition, and restoring the script on my side does not resolve the issue.

I don’t mind losing any stored data or progress associated with this persistent structure. If necessary, please reset, clear, or remove the persistent data / published package for this island so that I can upload a new release without this error blocking the process.

Really really thank you for your help.

If possible, could you please explain how I can completely delete or remove this persistent data myself? I would really appreciate guidance on how to fully clear it so I don’t run into this issue again in future updates.

I even extracted the exact same code from another one of my maps where the script still exists, and tried restoring it here, but the error still didn’t go away.

Do you have a published version of your map from before you added the persistable script? try rollbacking the published version to that version (all persistable data will be lost so be wary)

No, I don’t have a published version of the map from before I added the persistable script. UEFN also doesn’t allow me to roll back to a version that far back — the rollback list only shows more recent versions, none of which are before the persistable data was added.

Ok I suppose you can try getting the verse scripts as they were directly from the content service if nothing else works

  1. Inside there look for your island, Should look something like this, you can double check it’s the correct one by seeing the island code on the right

  2. Inside there you should press root module for Live Code, inside there will be the files of your project from when you published it.

  3. Inside there you will be able to see all the used verse files from your project at the time of publish, get the names of the verse file(s) in this case I want the player_stat_manager.verse

  4. Afterwards you download that file by changing the url to match the file you want

https://content-service.bfda.live.use1a.on.epicgames.com/api/content/v2/module/[YOUR MODULE ID HERE]/version/[THE VERSION HERE]/staged-files/[FILE NAME HERE]

So in my case I will just paste this in my browser and get my player stat verse file

https://content-service.bfda.live.use1a.on.epicgames.com/api/content/v2/module/0a6eb2f6-46f5-e87d-79b5-fa930ed7151a/version/3/staged-files/Content/player_stat_manager.verse

1 Like

When i want to download, on my screen appears “Cannot set properties of null (setting ‘href’)” :(((

And how i looking for the module and the version? Thank you so much btw

You don’t download it from the Download button, its bugged
You need to download the verse files from the URL


The module ID is the first part WITHOUT the @ and the Version is the number after the @

1 Like

Okay, really thank you so much, and now where i have to change for the new code?

Sorry bro, im new doing this :((

1 Like

You would need to make sure your code is exactly the same as how it was when your island was last published, these steps would allow for you to get the .verse files EXACTLY how they were on your publish you should try putting them back in directly in your project, I would recommend backing up your project if you end up having to overwrite already existing assets just so you can rollback.

1 Like

Thank you so much really, but when i paste my code on the browser, just appears this

I believe the session might’ve expired, try just going into the content service making sure it has you logged in as the owner and try retrieving the file from the link again

I had it happen to me if I didn’t log into the content service for some hours, it would ask me to re-login

1 Like

But if only the link changes, it should let me in regardless of the session, right?

Well no, the link checks to make sure it’s YOU who is trying to get the files of the map, if you are not logged in/not authenticated you won’t be able to retrieve the files and for good reason in my opinion, you wouldn’t want bad actors being able to just straight up get all the assets/scripts your map ever had just by changing a few numbers in the link

1 Like

Thank you so much, but, that doesnt work :), i dont care if i have to delete anything, i just wanna can work again on the same code of island, If you know a way, I would be very grateful to know it. and rlly rlly thank you Mineblo

What are you seeing exactly?

1 Like