is the packaged game in shipping or development mode?
My plugin is using FuncMap
in UClass
during runtime.
All works correctly in PIE and packaged game, but FuncMap is always empty in Standalone mode.
Is there any workaround?
I can confirm both shipping, debug and development builds function correctly
Thanks for the help, it was slightly deeper problem than I originally described. I had a custom blueprint compiler context in Editor module. That meant while in PIE, it had access to the custom compiler and in packaged games those blueprints was already cooked in, so it did not need the custom compiler. The only time it needed the compiler and did not have it was while launching a Standalone game. Changing the module type from editor to uncooked solved the issue. Anyway, thanks for the comments!
I am not sure how you are using the FuncMap.
I am using both the StaticClass and the PrivateClass of one of my test actors and both are able to find the UFunction by calling “FindFunctionByName”. This works both in PIE and in Standalone mode.
Just to note, I took a look at the generated cpp/h files (where the function registration takes place) and nothing seemed out of place when registering the functions.