Engine vs Game Plugins

A bit of background. I have a plugin that will build fine as an engine plugin but when I drop it in gameProject/plugins and try to build it there VS spits out a plethora of errors. I was able to get the plugin to compile (not link) later, but I had to hack the header files and the PCH.h file of the plugin to do so.

My question is simple, what changed? What is different about the Engine Plugin Environment compared to the Game Plugin env.

I still can’t find an answer, so I copy pasted this question on AnswerHub.

You probably need something from the engine module to compile against as a dependancy. I don’t think game plugins do that by default. So check the .build.cs? files and see what dependencies are used.