You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that in general trying to use Unreal Enums in Haxe causes problems.
Test:
var b:EBodyCollisionResponse = EBodyCollisionResponse.BodyCollision_Enabled;
var c:EBlendableLocation = EBlendableLocation.BL_AfterTonemapping;
var e:EndPlayReason:EEndPlayReason = EEndPlayReason.Destroyed;
I get :
C:\dev\Unreal\SampleProject\Source\HaxeCompatibility\HaxeOutput\src\MyActor.cpp 36 Error (active) E1696 cannot open source file "EBlendableLocation.h" HaxeProject
C:\dev\Unreal\SampleProject\Source\HaxeCompatibility\HaxeOutput\src\MyActor.cpp 36 Error (active) E1696 cannot open source file "EBodyCollisionResponse/Type.h" HaxeProject
C:\dev\Unreal\SampleProject\Source\HaxeCompatibility\HaxeOutput\src\MyActor.cpp 39 Error (active) E1696 cannot open source file "EEndPlayReason/Type.h" HaxeProject
C:\dev\Unreal\SampleProject\Source\HaxeCompatibility\HaxeOutput\src\MyActor.cpp 42 Error (active) E0276 name followed by '::' must be a class or namespace name HaxeProject
C:\dev\Unreal\SampleProject\Source\HaxeCompatibility\HaxeOutput\src\MyActor.cpp 88 Error (active) E0276 name followed by '::' must be a class or namespace name HaxeProject
C:\dev\Unreal\SampleProject\Source\HaxeCompatibility\HaxeOutput\src\MyActor.cpp 89 Error (active) E0413 no suitable conversion function from "EEndPlayReason::Type" to "EEndPlayReason::Type" exists HaxeProject
The text was updated successfully, but these errors were encountered:
datee
changed the title
Unreal Enums seem to create problems
Unreal Enums seems to create problems
Oct 30, 2022
It seems that in general trying to use Unreal Enums in Haxe causes problems.
Test:
I get :
The text was updated successfully, but these errors were encountered: