Adding a new code class derived from AnimInstance will cause the Visual Studio build to fail in a project based on the code Vehicle template. The build errors indicate that there are problems in the ShowFlags.h file:
Add the line #include "EngineBaseTypes.h" to the ShowFlags.h file.
The build fails.
The build succeeds.
Head over to the existing Questions & Answers thread and let us know what's up.