My UE project is version 5.2, and now I want to upgrade it to UE5.4. However, the compilation fails, with errors indicating issues in the UE source code. I’m using a binary version of the engine, not the source code version, and there are no instances of “Canvas.h” and “BillboardComponent.h” included in my project. Here are the error messages:
12>H:\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\Canvas.h(38): error C4076: "unsigned": cannot be used with type "float"
12>H:\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\Canvas.h(38): error C4216: non-standard extension used: long float
12>H:\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\Canvas.h(38): error C2208: member not defined using this type: "double"
12>H:\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\Canvas.h(47): error C2059: syntax error: "type"
12>H:\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\Canvas.h(262): error C4076: "unsigned": cannot be used with type "float"
12>H:\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\Canvas.h(262): error C4216: non-standard extension used: long float
12>H:\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\Canvas.h(445): error C4076: "unsigned": cannot be used with type "float"
12>H:\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\Canvas.h(445): error C4216: non-standard extension used: long float
12>H:\UE_5.4\Engine\Source\Runtime\Engine\Classes\Components\BillboardComponent.h(36): error C4076: "unsigned": cannot be used with type "float"
12>H:\UE_5.4\Engine\Source\Runtime\Engine\Classes\Components\BillboardComponent.h(36): error C4216: non-standard extension used: long float
12>H:\UE_5.4\Engine\Source\Runtime\Engine\Classes\Components\BillboardComponent.h(36): error C2208: member not defined using this type: "double"