Variable none after packaging

I’m working on a project with unreal dedicated servers, I have a problem, I’m making a character selection, where it is saved in a string in the game instance so that in the future, when I click on play, the player controller calls an event in the game mode of the other map to spawn the character, based on that string, which searches a data table for the line with the name of the string, this works in the editor, on the client side, but after packaging, when I open the server and the client, this variable always prints none in the server console, and this way it ends up showing line not found and not spawning, I tried looking for solutions, but to no avail, does anyone have any idea if I’m doing something wrong? strange that in the editor it works normally, but after packaging it doesn’t, thank you in advance for your attention