Stat Creator is resetting Value for Players who Join In Progress

I added Stat Creator Device in another map and I had the same problem like I mentioned in the first post (in private and also public versions), that its values were resetting for Players who Join In Progress. I tried to delete Stat Counters and add them again, but it did not solve the issue. After a lot of testing I figured out that when I set to display not only its Levels, but also its Values in Scoreboard in Island Settings, it suddenly starts working every time (I tested it in many private versions of 3 maps and also in 2 public versions of them).

Then I tried it in a situation where there was only 1 Stat Creator and no Stat Counter to modify or track its stats (they were increased only with 1 Stat Powerup), there was no Verse code in connection with it to display its values like in previous maps and attempts and it was not included in Scoreboard in Island Settings, so its stats were displaying only in default widget which is currently not visible for JIP Players. And it was happening as well even in this default situation.

To see its data in a scenario like that you have to gain some points to increase the stats, leave the session, then start a new session where you would be alone to see Values and Levels to verify that you actually have some stats, then leave the session, then join some session in progress that was started by some other player (which will in fact reset your stats, but you will not see them in this default scenario), then leave the session and start new session again to finally see and verify, if you still have some Values and Levels or not after you Joined In Progress in previous session.

I also tried to use 2 Stat Creator devices at the same time for tracking and changing 2 sets of points for different actions (and with different rules) and it was happening as well. When I set to have in Scoreboard only Values and Levels of first Stat Creator, the JIP Player still had its stats from earlier session, but he lost the stats of second Stat Creator that was not present in Scoreboard. And when I added to Scoreboard also Values and Levels of second Stat Creator, only then the JIP Player had stats for both of them when he joined new session which was in progress. But you can only have a maximum of 5 different informations in Scoreboard, so this fix will make posssible to use only 2 different Stat Creator devices.

I have tried it in 3 different maps and in so many different versions and individual attempts, that I can say that it is not just a coincidence. And this was probably also the thing that fixed this issue in my first map (mentioned in the first post), becouse now I also have there both Values and Levels in Scoreboard and I remember that I added it to Scoreboard only after some time (it was not there from the beginning). I just didn’t think that adding to display it in Scoreboard could be a factor for some data to be reset.

There is some issue with initialization of these data when Player Join In Progress. We are already waiting for a fix to display stats of Stat Creator devices on the HUD for JIP Players, so that could fix this problem as well, but maybe not. Maybe this resetting issue could be also fixed by some Verse code in “OnBegin” section, but I don’t know what code would do that.