Hey guys, hope you’re doing great.
So, just faced a very inconvenient bug right now, and gonna do my best to try to explain it.
I created this structure called Quest Rewards Structure. On it, I had two fields:
- int Gold
- int XP
Ok, created my entire Quest System. It was working perfectly and using this structure a lot. Suddenly, I felt the need to enhance it by adding another field to the structure called Items, which is an array of another structure. I tapped save, and after the first time I ran the game locally, it compiled and threw me a huge error message saying that several blueprints were facing issues.
When I saw it, I thought it would be something related to this change I’ve made. And yes, I was right.
Absolutely ALL THE VARIABLES that were somehow implementing that structure just VANISHED or GOT UNLINKED. Yes! Look:
And this is just 5% of the damage this bug caused me.
Also, another problem I’m having is that I can’t create variables in a Blueprint that had a variable somehow related to this structure. It simply doesn’t allow me to add. Sometimes after restarting the Engine, on the first attempt to create a variable in a broken Blueprint, it creates another MyBlueprint tab and, sometimes, appends the create variable prompt, which doesn’t allow me to create a variable with a name that was previously used, even this not being shown in the variables list anymore:
The logs (just from a single Blueprint):
I have no idea how to fix it or how to rollback. Unfortunately, my last commit is very far from the current
state and wouldn’t help me that much.
At this point, this post is a mere bug report rather than a solution request, but if you have anything that could help me fix this, please, do it.
Finally, sorry for not providing better details regarding this issue. It’s very unpredictable and I just can’t diagnose with precision what’s going on.