I have some blueprints which are children of a base blueprint. Sometimes my editor crashes and when I restart all children blueprints have their variables reset to default parent’s values. I have a lot of different values so it has become a really big pain to reset them over and over. Is there anything I can do about this?
I’m not sure, but it’s possible that it’s caused by THIS bug that I’ve reported. In my case it resets variables to default after packaging, so you may also check if you still have this issue after packaging your project.
It seems to be only after crashes. It’s possible that blueprints affected are ones that I hadn’t saved at time (though I save them often), however these blueprints do not revert back to my last save of them. They instead get their values completely reset to their parent’s values.
It’s happening with multiple blueprints, some of which have different parents, so it’s not just one parent going rogue.
Is it any specific type of variable or are all variables resetting? I attempted to reproduce this on my end but thus far have been unsuccessful. Do you have any specific steps I can take to recreate this on my end?
We have not heard from you in several days. I am marking this as answered for tracking purposes. If you are still experiencing this error, please comment with requested information.
It’s almost everything, though it depends. Just now it happened again and a lot of my blueprints are all reset to parent variables. Almost all variables are reset, but there are some like a linear color that kept it’s value from before. I have no idea what triggers this, but it happens from time to time and I have no idea what to do.
It might happen when I go back and edit parent, for example I recall adding another variable to parent blueprint before last closed editor. Maybe that’s responsible for reset.
I haven’t been able to reproduce this on my end yet. Do you have any test assets you can stick in a blank project and post here that are showing this error? I can try crashing project to see results first hand.
We have not heard from you in several days. I am marking this thread as answered for tracking purposes. If you are still experiencing this error, please comment back with requested information.
Having same exact issue. Was making some changes to default values on a child weapon, when I tried to play in PIE, UE4 crashed and when I reloaded all defaults on all child weapons were set to those of parent weapon. It kept meshes and materials I had modified but that’s it. I had saved all child bps and they were still all reverted.
I can’t really say what causes this so I’m not sure what I could provide to help other than maybe my whole project. Even then, I’m not sure how to trigger this error since it doesn’t happen all time. I’ve been dealing with it for now, but my project has gotten bigger and now it’s become a real problem.
I upgraded to 4.10 today and had this happen again. editor also has a glitch where it believes certain files are in use for some reason and therefore cannot be saved. I check to see if I have 2 unreal editors open, but I don’t. only way to solve this glitch is to restart my computer. This glitch has happened many times before so I’m used to it. After restarting and opening editor again, all values have been reset for all my characters back to their parent’s values. All components seem to have stayed, but all variables are reset. I can’t say if glitches are related, I’m just describing exactly what happened.
I only really work on one project so I’m unsure whether glitch is limited to this project only. I’m not using any type of source control. There might be some circular dependency going on with anim blueprints of my characters which are ones getting reset. I’ve had other assets without animBPs reset in past, such as my Ability blueprints, but they haven’t reset in a long time so that might have been a separate bug that has since been fixed.
My characters all sort of use same animBP even though they have different skeletons. I did this by creating a new animBP for new skeleton and then reparenting that animBP to parent one. animBP gets its animations from my characterBP and my characterBP uses this animBP. So I guess that’s circular dependency? It works great but every time I open my project I have to recompile parent animBP, or each one of children, for it to work properly. funny thing is animBPs seem to work without having to recompile them but only if they are not in use anywhere in project…
After recompiling them everything works great but it’s still a problem I’d rather not deal with.
I wonder if this is related to problem I’m experiencing.
Can you send me a copy of project you are seeing this in. This sounds very similar to another developer experiencing a similar issue. Does this look like what you are experiencing as well?
I’ll try zipping up my project soon to send it to you.
That doesn’t really seem like problem I’m experiencing. It seems certain things get reset for this person every time they restart editor. For me it only happens from time to time. It hasn’t happened again since I last reported that it did and I’ve worked on my project every day. Also AnimBP problem for me isn’t that my characters have their AnimBP reference reset to none. They have correct reference, but AnimBP itself is bugged until I recompile either it or its parent. I’ve also had this happen prior to 4.10.
I want to update that my characters once again have gotten their variables reset to that of their parent. only character that wasn’t reset was one that was using AnimBP that other characters use as their AnimBP’s parent. So this makes me feel like these 2 bugs might actually be related.