ArticySoftware / Articy3ImporterForUnreal

Articy Importer plugin for the Unreal Engine 4 and Unreal Engine 5 (work in progress).
MIT License
98 stars 39 forks source link

Import fails due to hot reload only working with UObject-derived classes, even if a C++ class exists #16

Closed herr-edgy closed 4 years ago

herr-edgy commented 5 years ago

Hot reloading only works for modules that include at least one UObject-derived class.

If the user converts his Blueprint-only project to a C++ project by adding a "raw" C++ class and then tries to import, the code generation works, but the generation of the assets does not happen since the module won't be recompiled. Workaround: closing the editor, manual recompiling in Visual Studio, starting the editor, force reimport.

Suggested fix: If no UObject class was found, create a dummy automatically or log an error that tells the user to convert the project to C++ properly first.

Fault found with the help of JCDescy, who reported a related issue.

herr-edgy commented 4 years ago

This is default UE4 behavior. Hot Reload does not work for modules without any UObject. Suggested fix is overkill; just keep to the documentation.