This error occurs due to a type mismatch during conversion between character strings of different types (TCHAR and ANSICHAR) in Unreal Engine.
- Check if your project is using the correct character set (Unicode or Multi-Byte). In Unreal Engine,
TCHARis typically Unicode (wide characters). - In Visual Studio, go to:
- Project Properties > Configuration Properties > General > Character Set
- Select Use Unicode Character Set.
- The error points to the use of
StringCastor a similar function. Verify that the arguments being passed are compatible types (TCHARorANSICHAR).
This is from GPT4.0