Verse persistable data is not saved between games

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Verse

Summary

Data persists only within session.

Steps to Reproduce

  1. In private or public match, persist array of arrays of integers
    array { array {}, array{1,2}, array{-1,2,3, 1001} }
    (8 members or more)

After saving to player profile, get the profile data again and check it was saved ok. Print members etc

  1. Exit game and launch the same code again
  2. This time do not write only print arrays again

Expected Result

Players data should contain all saved data exactly as it was saved.

Observed Result

Arrayl length is correct but members are empty

Platform(s)

PS5, Windows (all)

Island Code

0038-8908-4641 ( no longer reproducible as I have switched to a different data type, but I can provide older private codes if needed)

I have some player stats I persist including a custom pattern (array of arrays of integers). Data was saved ok but I noticed it was lost between games.

I started by separating profile data into two weak maps to determine faulty data. It turned out that simple stats started to persist between games, as for the custom pattern, it had correct number of elements but the elements themselves were empty. As for the diagnostic string ( same data as array but string)it was not saved at all.

All data was checked for fitness and passed. Pattern worked well during the same session and could be resaved and reprinted. So I think there is a bug outside the session and structures like

array { array{1,2}, array{1,2,3} }

are not currently supported and cannot be persisted between games.

After loading a new game, I receive 2 elements in the pattern array, but information about 1, 2 and 3 is completely lost.

I am not sure if it is Lego only or not. I only used

[][]int in my Lego map.

This is still not fixed

I try to save a 2d int array like this:
array{ array{1,2,3}, array{4,5,6}, array{7} }
it will save for the current session you are in, but if you back out and go into a new game the inner arrays will be empty:
array{ array{}, array{}, array{} }

FORT-882522 is now ‘In Progress’! Our team is actively working on it!

Just confirmed this bug in a brand new project.

Test in launch session: Array within array saves values 10,20,30 (2D array) and also saves the element 5 in a 1D array

Test in private version, the element 5 in the 1D array was saved. but the array{10,20,30} element did not save, it did not even load the default value array{2,3,4}, it just said it was empty (the score manager on the far left was 0, which is the length of this array.

Code used


We have a fix in place, though I cannot say with what release it will go out.

2 Likes