How do I create a custom UGameViewportClient

I have extended the UGameViewportClient class but when I go to Edit->ProjectSettings->GeneralSettings and under the default classes there is ‘Game Viewport Client Class’ drop-down menu but my class is not there to choose. So how can I get the engine to acknowledge my class. Cheers!

I just noticed in the ‘Add Code To Project’ section there is a check box that says ‘show all classes’ so I checked and selected the GameVeiwportClient and what do you know! there it was in Default Classes in General Settings.

Great to hear you solved your problem ! Just for tracking purposes would you mind to mark this as question as answered then ? :slight_smile: