Third party library behaves differently in unreal

Ok maybe there some build configurastion problem, or some type incompatibility. Can you also paste your code?