So I wasted my entire day trying to figure what was wrong with my code that was causing the editor crash as soon as I edit the value of any property in the editor for my character blueprint. Then eventually I found out that if I duplicate that Blueprint (Ctrl+w in content browser), then the copy works, but the original doesn’t??? Now editing the original crashes the editor, but editing the copy doesn’t. How?? Why?
This has several weird implications:
-
there was nothing wrong with my code, it was a bug in the editor all along
-
so duplicating doesn’t actually… duplicate? If one copy works and the other doesn’t… this means the duplicate is different from the original. What the hell does duplicating an asset does then? What exactly is different from the original and the duplicate?
-
the glitched original blueprint and working duplicate look identical in the editor. Does this means there are some hidden configuration in the blueprint asset file that is not visible in the editor? How can I visualize all there really is about this particular blueprint that puts it in this weird glitched state so I can figure out what is wrong with it?
-
and more importantly… What do I do now? I want to keep working on this project, but it’s impossible in this glitched state. My first instinct was: well, if the duplicate works… Then I will just delete the original and the delete dialog will replace all references to the working copy: boom all my problems are solved… Well… that didn’t work. Trying to delete it just gives me a shitload of non sense errors. I cannot even delete the glitched asset… So I open the reference viewer and there are several dozens of references to it that I would have to replace manually.
This isn’t the first, nor the second time some blueprint gets into some incomprehensible glitched state, that has nothing to do with my code. That recreating that blueprint fixes the problem. But it’s the first time it happens to something so big that takes so much time to fix.
Why does this keeps happening? How the hell do you guys deal with this?