In your project settings, go to Engine, General Settings. The second section is called “Default Classes”. There’s an entry called “Game Viewport Client Class”. Just select “CommonGameViewportClient” from the dropdown and you’re good to go. You can create your own derived class if you want and set it in your project settings.
This is a requirement to use CommonUI. If you don’t use it, it won’t work correctly.