This behavior is recent and extreme problematic. No matter what value i set in my blueprint, every time the editor crashes or restarts, all the values i set disappear. they’re no being set anywhere else so its not like theyre being overriden at run time, in the blueprint editor they also reset to 0 or on enums for example back to the first enum value. I can’t think of a reason why the editor started acting like this but its causing a lot of issues.
I am going to presume that you are actually saving the Blueprint classes in the editor either with ctrl+S, or the Disk Icon, and Saving the Level for the Blueprint Instances respectively.
are the given member variables defined in Blueprints, or are they derived from a C++ class or struct?
did you somehow mark the generated asset file from the blueprint as “Read-Only” this will mostly be through the OS itself, or through a version control system?
does the Editor have permissions to write to the location of the project. this will depend greatly on your operating system, user account permissions, and the locations of both the Engine itself as well as your project.
how are the given member variable defined where they are for example a screen shot of the details panel for one of the variables (like an Integer) in the blueprint, or the C++ UPROPERTY()macro text would help.
thanks for replying, i do all the combinations you mentioned(ctrl+s , compile and save, etc)
Adding new variables or new logic updates the blueprint and those save fine, it’s just the variables values that always reset.
are the given member variables defined in Blueprints, or are they derived from a C++ class or struct? -they’re all in blueprint.
did you somehow mark the generated asset file from the blueprint as “Read-Only” this will mostly be through the OS itself, or through a version control system? - im using peforce, but like i mentioned previously, new logic and even new variables save and persist, just their values arent saved.
does the Editor have permissions to write to the location of the project. this will depend greatly on your operating system, user account permissions, and the locations of both the Engine itself as well as your project. - yes, this has just started happening recently like a week ago. been working on this for over a year.
how are the given member variable defined where they are for example a screen shot of the details panel for one of the variables (like an Integer) in the blueprint, or the C++ UPROPERTY()macro text would help - i am just setting the value in the variable default value in the blueprint editor.
some more info, it seems to only happen in my hero character bp. other bps seem to be fine(newly created blueprints, or even older ones, adding new variables and setting values all work fine). its only the hero bp that stores new variables , but it doesnt keep their values once the editor restarts.
any clue why this is happening?
i was trying to just dupe it and re-reference the new duplicate across the entire game(A lot of work) but, midway, the game started crashing at startup because of a component…(mysteries keep pilling up)