[C++] Adding new class problem

Hello everyone.

So, I’m creating new project with basic code and adding new class of player controller using “Add code to project”.
But i cant use them, if i trying to set PlayerControllerClass in Game mode,building failing with “undeclared identifier” error.

In 4.4 this worked.

How i can fix that?