FORCEINLINE_DEBUGGABLE preventing me from compiling

Hey there.

I extended AISense_Sight to override the update function which works fine in developpment build, but when i try to package or compile for shipping i get a linker error for CalcQueryImportance defined in AISense_Sight.cpp which says it can’t find the definition for the function.

I assume it’s because that function is market as “FORCEINLINE_DEBUGGABLE” in the .cpp.

Is there a way to still use that function or do i have to copy it in my .cpp? the function is protected so i assume the writer wanted it to be useable by anyone extending the class.

Can somone also explain to me how FORCEINLINE_DEBUGGABLE works? Because you usually add forceinline inside of the header and not the code file.

Cheers

Léon