I am working on a Lyra based UE project. While adding new Game State Component (pic 1, 2) I faced unresolved external symbol error with ULyraExperienceManager (pic. 3). I know that I need to add something to my build.cs (pic. 4) file but I have no idea what it is. Can someone help me please.
I believe "LyraGame"
needs to be a Public dependency rather than a Private one.
Most other modules can be private dependencies. For example my current Lyra project:
If you didn’t already do it, you probably need to export ULyraExperienceManagerComponent
Add LYRAGAME_API
to its class definition like this:
class LYRAGAME_API ULyraExperienceManagerComponent final : public UGameStateComponent, public ILoadingProcessInterface
Thank you very much, this solved my problem
1 Like