Description

When using checked PhysX builds, landscapes with holes generate errors when they shouldn't.

Steps to Reproduce
  1. Enable bUseCheckedPhysXLibraries in TargetRules.cs
  2. Open/Create a Project with a Landscape
  3. Using the visibility tool, create holes in the landscape

[Result:] LogPhysics: Error: PHYSX: ...\Engine\Source\ThirdParty\PhysX3\PhysX_3.4\Source\PhysX\src\NpShape.cpp 781) eINVALID_PARAMETER : Shape creation: PxHeightField material indices reference more materials than provided!

[Expected:] No Error

 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-63655 in the post.

4
Login to Vote

Won't Fix
ComponentUE - Simulation - Physics
Affects Versions4.194.20
Target Fix4.26
CreatedSep 4, 2018
ResolvedSep 29, 2020
UpdatedOct 16, 2020