diff --git a/LuaMachine.uplugin b/LuaMachine.uplugin index ae03061..7d2547a 100644 --- a/LuaMachine.uplugin +++ b/LuaMachine.uplugin @@ -1,7 +1,7 @@ { "FileVersion": 3, "Version": 1, - "VersionName": "20241113", + "VersionName": "20241122", "FriendlyName": "LuaMachine", "Description": "Expose a Lua api for your project", "Category": "Scripting", diff --git a/Source/LuaMachine/Private/LuaBlueprintFunctionLibrary.cpp b/Source/LuaMachine/Private/LuaBlueprintFunctionLibrary.cpp index dbe1a17..df12ece 100644 --- a/Source/LuaMachine/Private/LuaBlueprintFunctionLibrary.cpp +++ b/Source/LuaMachine/Private/LuaBlueprintFunctionLibrary.cpp @@ -28,6 +28,10 @@ #include "Serialization/ArrayReader.h" #include "TextureResource.h" +#if ENGINE_MAJOR_VERSION >= 5 && ENGINE_MINOR_VERSION >= 5 +#include "Engine/BlueprintGeneratedClass.h" +#endif + FLuaValue ULuaBlueprintFunctionLibrary::LuaCreateNil() { return FLuaValue();