I can't package my project: Null Widget Tree

Please, help me: i can’t package my project…
Output log errors:
UATHelper: Packaging (Windows (64-bit)): LogUMG: Error: PreSave: Null Widget Tree - screen_master_C /Game/comp_anim/screen_master.WidgetArchetype
PackagingResults: Error: PreSave: Null Widget Tree - screen_master_C /Game/comp_anim/screen_master.WidgetArchetype
UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogUMG: Error: PreSave: Null Widget Tree - screen_master_C /Game/comp_anim/screen_master.WidgetArchetype
UATHelper: Packaging (Windows (64-bit)): ERROR: Cook failed.
I dont know what does it mean…
Guys, please, help me ))
Thank you)

P.S. Screen master is an widget component in comp_anim blueprint

I just deleted it and created it again, everything worked …

I am having the same issue. But I would prefer not to delete my menu as my game needs it.

UATHelper: Packaging (Windows (64-bit)): LogInit: Display: LogUMG: Error: PreSave: Null Widget Tree - MainMenuWidget_C /Game/FirstPersonBP/Blueprints/MainMenuWidget.WidgetArchetype

I had this problem and fixed it. In my example:
PreSave: Null Widget Tree - Expanded_UI_C /Game/UMG/Expanded_Button.WidgetArchetype

The problematic widget is Expanded UI. When I was able to right-click on it and go to reference viewer, I saw that there was an Expanded_Button reference with no value in it, which was causing the build to fail. I’m not even using this Expanded_Button anymore and it does not exist in my content browser, so my guess was I created it one point and when I deleted it, some traces of it were left behind.

I couldn’t delete this from the reference viewer unfortunately. I recreated the widget with the same name Expanded_Button and checked the reference viewer again for Expanded_UI widget, and I no longer saw it being referenced. I deleted the Expanded_Button after that and double checked once more from the reference viewer and it was now properly gone.

I assume once it found a proper matching name, it was able to resolve itself with the null value. Hope this helps.

Did anyone find any other solution to this besides recreating the whole Widget?
This seems to have a really strange behavior for packaging, for me the package sometimes fails and sometimes works when I set the property where it is referenced to “None” and back.

My solution:

In case anyone runs into this problem in the future. I had renamed one of my widgets sometime during my project and then got this error during packaging. In Panteonio’s example, try to create a widget in that folder called “screen_master” and see if it lets you. It didn’t for me, saying theres already a file with that name, so I went into the project root folder → content and found a file with the old name was still hanging around. I deleted it and it packaged fine.