When porting a 5.1 Lyra project to 5.2, I was able to fix these linker errors by adding these two lines near the end of LyraGame.build.cs
SetupGameplayDebuggerSupport(Target);
SetupIrisSupport(Target);
This is part of Iris support and is mentioned in the upgrade notes: