Hello everyone !
I’ve been using blueprints to set up a UMG menu usable with controllers for a multiplayer local game. It works really great at that. At one point in this menu, each player has to choose a color to join. I want to transfer those specific colors to the actual game for in-game HUD.
My problem is with the save game blueprint. I try to save those colors directly from the UMG. But when I try to load those data in the actual game it doesn’t return anything.
You can see each screen below and the process of it all.
Well there were multiple errors in my script. A first I was trying to access the colors via a variable reference to the UMG. BAD IDEA. Instead, I simply used a Linear Color array variable that I feeded with the colors in my UMG.
Second error : I was not casting to the savegame blueprint and I simply forgot to call my function inside it. Basically it was actually creating a savegame but with nothing in it since it didn’t call any function.