Errors when subclassing

Hello, I’ve created a subclass of GameViewportClient.cpp, I’ve overridden a function and I’m getting some erros. Do you know why? My knowloadge of C++ in UE4 is limited and I’m unable now to extract a solution from those error messages.

Your class is named UMyGameViewportClient, so you eaten U in your namespace name in UpdateActiveSplitscreenType function which should be same as your class name. Look on constructor namespace which does not give you arror :wink:

That’s true; applying that change rebuilds it nicely. Thank you!