I have a Property/Variable created and I edit the value of this variable through a button on the details panel. This button is created using a “call in editor” BP function. Once this editor function sets the value, the value is correct but the yellow arrow that allows the property to reset to default is not there and saving does nothing. If i reload the engine the value is not the one the button set. It is not saving the values set by this editor function. I am assuming it does this since it doesn’t recognise there is a change, if i change the value myself by clicking on it, then it works and saves the value normally otherwise changing it through the editor function wont keep it once i reload the engine. How do i fix this.
Iv looked into SaveConfig() and some other functions but im not sure which one would be correct to use or how to use them to fix this. There must be a function for forcing the data in a BP or C++ class to save and thats what im looking for. Or a function that flags this Uproperty as one thats changed for the saving to detect it.