Problem with module
Hi there, I have encountered a problem with engine modules when trying to run a level with standalone game option from the editor and was hoping someone would know more about it.
I have the following setup: Two engine modules - a runtime part and an editor part.
The runtime part defines some classes and their logic. The editor part defines a custom blueprint node which inherits from UK2Node and operates with one the classes from the runtime lib.
Now, when running the game with "Play in Editor" everything works fine and the custome node gets called. However, if I run the game with "Play in Standalone game" in the same level, the custom node does not get called. The warnings I get in the output log are:
Warning: Can't find file '/Script/MyEditorModule' LoadErrors: Info Failed to load /Script/MyEditorModule.K2Node_MyNode Referenced by EdGraphPin_5463
I figured it might be something to do with cooking - the Standalone game cooks the game on the fly. And indeed when i try to package my game i get the same Warnings and an Error that my Blueprint has an undefined node. Why does my node not compile when cooking?
asked Jan 31 '19 at 09:35 AM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here