How to save a Material at runtime?

I think i got what you told me, set and get the Material Index ingame works fine.

I only got the problem when you start the game it resets the Material to default, could that have something to do with the blueprint execution order?

And do I need in my SaveGame both, the Material Array and Index?

Hope these Screenshots help.

Yep, saving both material array and index is fine. It could be just the index too but I don’t see an issue with just saving one.

One thing we’ll want to confirm before looking at the Blueprint execution is that the Load Game is working as expected. When load game is called, try getting the material index from the save game reference. It should be something like the bottom two steps of this https://docs.unrealengine.com/en-us/Gameplay/SaveGame/Blueprints