Material parameter resets when changing map

So I use “Set Vector Parameter Value on Materials” to change the color of material from blueprint, but when i proceed to change the map, parameter value just resets. Do I have to change the parameter value from Game Instance or am I using the wrong function?

Anytime you change maps during the game. All Non-persistent information is Reloaded. This means anything that doesn’t persist from level to level will NOT be saved or “Transferred over”. So you’ll have to store the change you made onto a persistent blueprint and reload the change upon the new level load. You can store the information in your Game Instance, which is what I recommend. Then after the level is loaded, just load that variable from the Game instance back to your material.

Thanks! That seemed to work

No problem! Glad I could help!