has anyone noticed a problem with the default include paths when creating a new C++ project in unreal??
for example, I go to Tools > New C++ Class in the Unreal Editor and create a new Character class in the “Player” directory. so my files will be created in:
Source/MyGame/Player/MyCharacter.h
Source/MyGame/Player/MyCharacter.cpp
the generated MyCharacter.cpp has the include:
include “Player/MyCharacter.h”
but the project won’t build because it can’t find the header file. i can get it to build by changing the include to “MyCharacter.h” because the cpp and .h are both in the Player directory.
i went to project properties in Visual Studio (Project Properties > VC++ Directories > Include Directories) and manually added:
$(SolutionDir)Source\MyGame
this seems to work for now but i never had to manually adjust the include paths in a generated project like this before. does anyone know if this is a bug with the project generation in Unreal?