"CreateImport: Failed to load outer for resource" and missing blueprint functions on dedicated server build

I have a c++ class that contains one static function in it that acts as a wrapper for UE_LOG so I can log with blueprints, and when I run the built dedicated server I’m getting the following error:

[2015.02.08-03.43.32:935][  0]LogLinker:Warning: CreateImport: Failed to load Outer for resource 'UE_BP_LOG': Class /Script/LastWatch.LogUtilities

The function is also not being executed whenever it’s being called, it just kind of fails silently and continues to chug along. I’ve confirmed that everything is working as intended in the editor and standalone game, so the problem is just with the dedicated server.

This leads me to think that the issue might be with my build script. I’m using a script to run the dedicated server build, compress it, and upload it to my server mostly for ease of use, but also because there is no option to package for a dedicated server in the ui. I’m using the following command to package:

${UE4BATCHDIR}/RunUAT.bat BuildCookRun -project="${PROJECTDIR}/${PROJECTNAME}.uproject" -nop4 -platform=Linux -clientconfig=Development -serverconfig=Development -cook -server -serverplatform=Linux -noclient -compile -stage -pak -archive -archivedirectory="${ARCHDIR}"

The output of this then gets saved to a log file, and it’s not throwing any errors or warnings, and says nothing about the LogUtilities class.

Any ideas?

Thank you for taking the time to report this issue and we appreciate your patience while awaiting a response. In order to assist you in an effective manner, we would like to see if you are still having a problem with the error you reported, “CreateImport: Failed to load outer for resource” inengine version 4.9.2…

If so, please provide some simple steps, screenshots, or any other relevant pieces of information to help us reproduce the issue on our end and we will investigate the problem.

Thank you for your feedback and cooperation,

.