Hi all!
I’m trying to implement a custom game viewport client class and I need to put it inside a standalone module located in Engine/Source/Developer/MuModule. The game project refers to this module in cs file by PublicDependencyModuleNames list and sets the custom viewport class inside DefaultEngine.ini.
The problem is when the engine tries to load the class from MyModule during initialization phase (when GameViewportClient is actually created) it can’t locate it inside /Script/MyModule.CustomGameViewportClient - it’s simply missing inside MyModule hash.
I have a number of assumption here:
- The stanadlone module’s uclasses might be registered later then the engine is initialized and game viewport client is created.
- I made something wrong with the MyModule structure or configuration so it doesn’t register its uclasses at all. Is something special required here?
- MyModule isn’t propery plugged-in inside the game project. Do I need to register the module references in a special way in order to be able to acces its uclasses?
- Something else?
Which one is true?
Any help will be greatly appreciated.
Thanks!
.