This is a bug in UE5.6.1 and we have a fix ready for our next release: Compile error with UE 5.6.1 - #7 by cameron-fmod