I’m trying to save the state of the data layers in my level. I already have a working save system so that part is done. I was planning on saving the states using a map of enums to save the data layer states using a string as the key. I have two problems. One I need to get the name of the data layer. Two, I need to get it’s state. This is the blueprint I’m using to get that information. It doesn’t return any data layers even though the map currently has two. Any thoughts?
I got it figured out. The blueprint is fine. I had it in the Game Instance. I moved it to the level blueprint and all is well.