Custom Widget disappears after reopening project
I have a custom Widget that for some reason is disappearing when I close the project and open it again.
Sadly I have not been able to reproduce it yet. But what could be causing this?
I'm using 4.15, but it was also happening in 4.14
First it looks like this:
I save Widget_GameHUD, open project again and it looks like this:
Save it again, reopen and now it's gone:
I made a video: https://youtu.be/x4t0cjTndT0
Widget_GameHUD contains Widget_Abilities_Box (second custom widget) which is made of an horizontal box with 6 Widget_Ability_Box (another custom widget)
Could you use the reference viewer to check for circular dependencies? If you find any could you try and break these for testing purposes and let me know if the issue still occurs when there are now circular dependencies?
answered Feb 21 '17 at 07:03 PM
Rudy Q ♦♦ STAFF
In our case we had issues with deprecation. We had a parent class for the widgets (c++) that were deprecated. Widgets kept displaying correctly. After making changes to the widget containing the widgets with deprecated parent, they simply were gone after editor restart.
The editor was throwing deprecation warnings for another widget after the change, but not for these. Changing the parent of the affected widgets to UserWidget resolved the issue.
answered Nov 16 '18 at 03:38 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here