I am facing a weird issue. Here is a portion of my code. I have debugged and confirmed this is the part that is causing the problem. Removing it works fine.
Basically i am using
for getting User Widget Blueprint. But for some unknown reason, in some cases it works in some cases the editor simply freezes at 72% loading. I decided to check if
is valid or not, which make it work perfectly fine no issues or errors. It works in editor, standalone.
The problem however occurs when i package the game. Packaging went smoothly no issues, errors in output window. But the game simply crashes. Throws this issue:
Here is the answerhub question:
Is it a bug? or am i doing something wrong?
Also i know i can use
and then select the widget from the dropdown in the detail panel. Which works but the biggest drawback is whenever i make some changes to the class i need to re-select the class from the dropdown AGAIN! Instead i hard coded the referance paths and using
for that purpose.