I made the mistake of deleting a Parent Blueprint Widget Class (a parent class for most all of my UI Widgets), now I am unable to open my UI Widgets in the Editor to change the parent class of those widgets to a new parent class.
I have lost a couple months of work due to this simple mistake.
I cannot find a way in or out of editor to change the parent class for any widgets that used the parent class.
Looking like I am going to have to redo a couple months of work?..this seems pretty stupid to me (I am aware it was a stupid mistake to begin with). I just cant believe the editor couln’t replace code in the blueprint to a base user widget class for the parent class for these widgets so i can then change the parent class??
The issue could also be that if you were to restore/reconstruct it, the references to it and its children would also be obliterated or corrupt. And you’d have to painstakingly make sure that all references are intact.
What a mess.
I hope you have backup versions that you saved.
Moving forward, I would ZIP stable versions of your project:
If you do not have backup versions, you’ll need to reconstruct the parent class (I know you know this), but I’m rooting for someone here that may know an elegant or hacky way to assist you.
I…do not have backups lol. I dont know how I never noticed the ZIP Project option. I used to have a copy of project folder for backup, but that just got messy. Live and learn.
As far as references and rebuilding it, the Parent class just had two or three variables to set references to Game Instance, Game Mode and HUD. I could rebuild the parent class easily. The child widgets not so easily.
If I could just somehow set the parent class to User Widget and Open the Blueprint, I could EASILY fix my problem without having to rebuild manually all the child widgets.