unresolved external symbol UUserWidget
Hi, I followed this guide for converting my Blueprint project to C++.
All went well until the last step (build Development project in Visual Studio) when I get 'unresolved external symbol' errors all related (afaict) to UUserWidget.
This previous answer talks about removing "MinimalAPI" metadata from WidgetComponent.h, but I cannot find any references to it. Relevant lines in WidgetComponent.h:
It also involves editing the engine's source code, which isn't ideal. One comment by AskNinja says "change UWidgetComponent.h to use the UMG_API " which I don't know how to do. Any ideas?
Thanks in advance, Darren.
Edit: attached error log
It's possible you needed to add the "UMG" module to your game module's dependencies. Check out this page near the bottom:
I just ran into something similar myself in version 4.17.1 trying to add a UUserWidget * UProperty.
answered Sep 04 '17 at 08:08 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here