Call to private constructor in ScriptGeneratorPlugin

The constructor FColor(const FLinearColor& C) is now private since the following commit:

https://github.com/EpicGames/UnrealEngine/commit/d287c6143f0e7ac11070d05641be26f982794b79

However the following line: https://github.com/EpicGames/UnrealEngine/blob/4.11/Engine/Plugins/ScriptPlugin/Source/ScriptGeneratorPlugin/Private/LuaScriptCodeGenerator.cpp#L82

generates calls to that constructor when building and using the ScriptGeneratorPlugin.

For more details on the generated errors http://pastie.org/10849393

Hey MarioYC-

Can you explain how you’re setting up your code to use FColor and/or FString FLuaScriptCodeGenerator::InitializeFunctionDispatchParam(UFunction* Function, UProperty* Param, int32 ParamIndex)?

Hello,
I’m trying to build already with the UETorch plugin which I modified to work with UE 4.10 (GitHub - marioyc/UETorch: A Torch plugin for Unreal Engine 4.) , UETorch is using LuaIntegration and ScriptPluginGeneratedClass from ScriptPlugin.

Hey MarioYC-

I’ve entered a bug report to address the code syntax in LuaScriptCodeGenerator.cpp, UE-31230. If you are using a source build of the engine, you should be able to edit line 82 to include the .ToColor(true); as necessary.

Cheers