[help] Local player state bag not working

Hi, i have a strange problem with my localhost server because when i try to print a state bag in the server i haven’t problem but when i try to print the same state bag on the cliet side it says that is nil. This problem i really strange becase a friend of mine has the same file (literaly all the same resources and everything else) and when i’m connected on his localhost it’s all perfect and i can print all the state bag on the server side or on the client side without any problem.
I can’t figure out on how to solve this problem so i hope anyone can explain me on how to let it work.
I attach some pictures of the code and the output in game.
Codice lato client
Codice lato server


Screenshot (13)

Do you have onesync enabled on your localhost?

It was on Legacy so i’ve tryed to put it on Infinity and now it works.
Thanks for the help.

1 Like