4.11 upgrade errors

I’m getting some whack errors that I can’t even begin to trace.


1>C:\Program Files (x86)\Epic Games\4.11\Engine\Source\Runtime\Core\Public\Templates\Function.h(307): error C2064: term does not evaluate to a function taking 2 arguments

1>C:\Program Files (x86)\Epic Games\4.11\Engine\Source\Runtime\Core\Public\Templates\Function.h(306): note: while compiling class template member function 'void UE4Function_Private::TFunctionRefCaller<FunctorType,FuncType>::Call(void *,uint8 *&,const FUpdateTextureRegion2D *&)'

1>                 with
1>                 
1>                     FunctorType=DecayedFunctorType,
1>                     FuncType=void (uint8 *,const FUpdateTextureRegion2D *)
1>                 ]

This resolves to this code in Function.h(300):


        /**         * Specialization for void return types.
         */
        template <typename Functor, typename... ParamTypes>
        struct TFunctionRefCaller<Functor, void (ParamTypes...)>
        {
            static void Call(void* Obj, ParamTypes&... Params)
            {
                (*(Functor*)Obj)(Forward<ParamTypes>(Params)...);
            }
        };

I’m not sure why this is breaking. I’m not even trying to build the engine - this is just a standard code project. The engine project is unchecked for build. Any advice?

Edit: I found this: Packaging build error : Starts compiling engine and fails - Platform & Builds - Unreal Engine Forums

I’m trying to build using DebugGame_Editor, so this really shouldn’t fail for that reason though.