I get unresolved external symbol. I do have include inside the cpp class #include "AbilitySystem/Phases/LyraGamePhaseSubsystem.h"
When I’m getting reference to the LyraTeamSubsystem everything works just fine ULyraTeamSubsystem* TeamSubsystem = UWorld::GetSubsystem<ULyraTeamSubsystem>(GetWorld());
Well the issue was that I didn’t add LYRAGAME_API export into the class I want to include inside my cpp. Basically it needs to be added to every Lyra class that you want to include/subclass and they don’t have LYRAGAME_API export already.
Inside ULyraGamePhaseSubsystem just add LYRAGAME_API and it will fix the issue.
class LYRAGAME_API ULyraGamePhaseSubsystem : public UWorldSubsystem