Haxe-UnrealEngine5
Haxe-UnrealEngine5 copied to clipboard
Issues with Actor::EndPlay
The Actor::EndPlay extern seems to be missing the EEndPlayReason::Type parameter.
But adding this in manually creates more problems it seems...
This problem occurs on ActorComponent::EndPlay also.
Error (active) E1455 member function declared with 'override' does not override a base class member HaxeProject E:\Epic Games\UE_5.0\Engine\Source\Runtime\CoreUObject\Public\UObject\CoreNet.h 360
Error (active) E1455 member function declared with 'override' does not override a base class member HaxeProject E:\Epic Games\UE_5.0\Engine\Source\Runtime\CoreUObject\Public\UObject\CoreNet.h 361
Error (active) E1455 member function declared with 'override' does not override a base class member HaxeProject E:\Epic Games\UE_5.0\Engine\Source\Runtime\CoreUObject\Public\UObject\CoreNet.h 362
Error (active) E1455 member function declared with 'override' does not override a base class member HaxeProject E:\Epic Games\UE_5.0\Engine\Source\Runtime\CoreUObject\Public\UObject\CoreNet.h 363
Error C2371 'EEndPlayReason::Type': redefinition; different basic types HaxeProject C:\dev\Unreal\SampleProject\Source\HaxeCompatibility\HaxeOutput\include\MyActor.h 28
Error C2371 'EEndPlayReason::Type': redefinition; different basic types HaxeProject C:\dev\Unreal\SampleProject\Source\HaxeCompatibility\HaxeOutput\include\MyActor.h 28
Error C1083 Cannot open include file: 'EEndPlayReason/Type.h': No such file or directory HaxeProject C:\dev\Unreal\SampleProject\Source\HaxeCompatibility\HaxeOutput\src\MyActor.cpp 36
Error C2371 'EEndPlayReason::Type': redefinition; different basic types HaxeProject C:\dev\Unreal\SampleProject\Source\HaxeCompatibility\HaxeOutput\include\MyActor.h 28
Apologies about this! I think I may have fixed this already in my uncommitted build (which is completely broken and unusable in other ways atm), so it should be fixed once I get back to working on this project!
Great 🙂