one of my plugins fails to compile in UE5 due to a call to a non-existing function.
the function call appears in file
“C:\Program Files\Epic Games\UE_5.0\Engine\Source\Runtime\Engine\Public\GeneratedCodeHelpers.h” line 662
// Replacements for CustomThunk functions from KismetMathLibrary
static float Divide_FloatFloat(float A, float B)
{
if (B == 0.f)
{
ExecutionMessage(TEXT("Divide by zero"), ELogVerbosity::Warning);
return 0.0f;
}
return UKismetMathLibrary::GenericDivide_FloatFloat(A, B);
}
UKismetMathLibrary does not have a function “GenericDivide_FloatFloat”.
for now i commented it out, but since this is an engine file and not one of my own files i would like to find out what the real source of the problem is.
when i remove said plugin, everything compiles fine. so what is going on with this file? is this file changed according to stuff in my own files by the UE build tool or something similar?
does anyone have an idea on how to find out what part of my plugin causes that behavior?
thanks