In my plugin I’ve got a runtime & editor module. The runtime module defines a custom actor component A and its behaviour.
Now I’d like to react to changes made to the component A in its details panel and call methods from the editor module depending on the changes made, like an item was added to an array. There’s the PostEditChangeChainProperty(struct FPropertyChangedChainEvent& PropertyChangedEvent)
method in the component but I can’t call methods from my editor module since I can’t link a runtime module with a editor module.
Well, I got it working on an older version without the seperate modules. There’s just one runtime module and that adds the dependency to editor modules if in editor.
But back to the runtime & editor module version. The crash occurs when a file from the runtime module tries to call a (static) function from the editor module.
When compiling the editor module ( through modules manager) it crashes due to not finding .generated.h files from the runtime module. Why does it search for them in the first place? The editor module does not have dependecy to the runtime module.
Yes I think so
edit: When adding the runtime module to the editor module the error with not finding .generated.h doesn’t occur anymore