UE 5.6 some functions of UKismetMathLibrary are missing the new UE_INL_API macro

In KismetMathLibrary.h, the methods LinearColor_ToRGBE, Conv_LinearColorToColor, LinearColor_Quantize and LinearColor_QuantizeRound did not get their ENGINE_API specifier replaced with a UE_INL_API specifier in the 5.5-to-5.6 upgrade, contrary to all other functions in that class. This prevents them from being exported in Debug, resulting in an error when linking.

Steps to Reproduce
Call UKismetMathLibrary::Conv_LinearColorToColor from code, try to build in Debug or Debug Editor. Will result in a link error.

Hi Ben,

Thank you for reporting this issue. In fact, this has already been fixed in the latest source version. If you need to bring in the fix, look for CL 43633725 on Perforce or commit ee1df1b on GitHub. The fix added the “UE_INL_API” macro for the functions you mentioned, plus many others that were also missing it or had the wrong one.

Best regards,

Vitor

Excellent, thanks Vitor!