Hello IDominioNI,
I appreciate you providing such a descriptive question, and your use of pseudo code, however, in an effort to better investigate the issue and assist you, I would like to request the class .Cpp and .H file. I also believe you may find the following documentation of use. CompilingProjects, It includes some details and best practices on using Unreal’s hot reload system, as well as how to setup your build environment.
Thanks!