sideeffects / HoudiniEngineForUnreal

Houdini Engine Plugin for Unreal Engine.
http://www.sidefx.com/unreal
Other
1.36k stars 374 forks source link

UE5 Preview 1 compile failed: 'PercentTriangles': is not a member of 'FMeshNaniteSettings' #161

Closed ChildAdrian closed 2 years ago

ChildAdrian commented 2 years ago

{ Windows SDK 10.0.19041 Visual Studio 2022.1.0(vc143) UE5.0.0 Preview 1 [Houdini19.0-Unreal5.00] }

I try to compile the latest source code with the new UE5 Preview 1 version (released at 02/23/2022), the errors gotton. Here are three typical Erros:

1>C:\UProjects\Rescape\Plugins\Runtime\HoudiniEngine\Source\HoudiniEngine\Private\HoudiniMeshTranslator.cpp(1503): error C2039: 'PercentTriangles': is not a member of 'FMeshNaniteSettings'

1>C:\UProjects\Rescape\Plugins\Runtime\HoudiniEngine\Source\HoudiniEngine\Private\HoudiniEngineUtils.cpp(6135): note: Reason: cannot convert from 'const UE::Math::TVector2' to 'const FVector2D'

1>C:\UProjects\Rescape\Plugins\Runtime\HoudiniEngine\Source\HoudiniEngineEditor\Private\Tests\HoudiniEditorTestUtils.cpp(417): note: Constructor for struct 'UE::Math::TVector2' is declared 'explicit'