Exceptions while compiling UserWidget.h in CPP

Thanks for help. Your method also works after TheJamsh’s solution.