Upgrading the project from version 5.2 to 5.4, compilation fails.

Yes, all UE plugins are fine. The issue lies in a DLL I developed myself. Within this DLL, there is a .h file declaring #define UL unsigned long.