Blueprint libraries are still broken in the final version of 4.14.0
They work fine in editor, but as standalone, they’re just not there, and they’re unpackageable.
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.16-00.47.11:524][ 0]LogInit:Display: LogBlueprint:Error: [Compiler FirstPersonCharacter] Error Could not find a function named "BPlibtestSampleFunction" in 'FirstPersonCharacter'.
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: Make sure 'FirstPersonCharacter' has been compiled for K2Node_CallFunction_12 from Source: /Game/FirstPersonCPP/Blueprints/FirstPersonCharacter.FirstPersonCharacter
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.16-00.47.11:535][ 0]LogInit:Display: LogBlueprint:Error: [Compiler FirstPersonCharacter] Error This blueprint (self) is not compatible with ' self ', therefore that pin must have a connection. from Source: /Game/FirstPersonCPP/Blueprints/FirstPersonCharacter.FirstPersonCharacter
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.16-00.47.11:546][ 0]LogInit:Display: LogLinker:Warning: Can't find file '/Script/BPlibtest'
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.16-00.47.11:557][ 0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load '/Script/BPlibtest': Can't find file '/Script/BPlibtest'
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.16-00.47.11:568][ 0]LogInit:Display: LogLinker:Warning: Can't find file for asset '/Script/BPlibtest' while loading D:/Unreal/Projects/newtest414/Content/FirstPersonCPP/Blueprints/FirstPersonCharacter.uasset.
UATHelper: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.11.16-00.47.11:579][ 0]LogInit:Display: LogUObjectGlobals:Warning: Failed to load 'D:/Unreal/Projects/newtest414/Content/FirstPersonCPP/Blueprints/FirstPersonCharacter.uasset': Can't find file for asset '/Script/BPlibtest' while loading D:/Unreal/Projects/newtest414/Content/FirstPersonCPP/Bluepri
nts/FirstPersonCharacter.uasset.
Steps to reproduce:
-
Create new project
-
Add a new Blueprint Library plugin
-
Create a blueprint function call like in the image below (I put mine in firstpersoncharacter)
-
Run in viewport, see a list of -1 as expected
-
Run in standalone, nothing gets printed
-
Try packaging, fails as shown above
-
(Changing the type from Developer to Runtime just in case it had anything to do with the weirdness related to [this other bug][1] doesn’t change anything)
Also, any USTRUCT added to the blueprint library will be “invalid” when running as standalone.