# Error on package: LogPhysics:Error: PHYSX (..\\..\\PhysX\\src\\NpShape.cpp 641)

**URL:** <https://forums.unrealengine.com/t/error-on-package-logphysics-physx-physx-src-npshape-cpp-641/377960>\
**Category:** Platform & Builds\
**Tags:** error-building, unreal-engine, packaging-projects, question\
**Created:** [November 30, 2016, 10:27pm UTC](https://forums.unrealengine.com/t/error-on-package-logphysics-physx-physx-src-npshape-cpp-641/377960 "2016-11-30T22:27:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![VitalyGintsar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VitalyGintsar](https://forums.unrealengine.com/u/VitalyGintsar)\
**Post date:** [November 30, 2016, 10:27pm UTC](https://forums.unrealengine.com/t/error-on-package-logphysics-physx-physx-src-npshape-cpp-641/377960/1 "2016-11-30T22:27:17Z")

</div>

When I package project, in log I have this error:

_LogInit:Display: LogPhysics:Error: PHYSX: (…\PhysX\src\NpShape.cpp 641) eINVALID\_PARAMETER : NpShape::setFlag(s): triangle mesh, heightfield and plane shapes can only be simulation shapes if part of a PxRigidStatic!_

And then :_unknown cook failure._  
Please, tell me, what should do I do to solve this.  
Thanks…

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [December 1, 2016, 7:51pm UTC](https://forums.unrealengine.com/t/error-on-package-logphysics-physx-physx-src-npshape-cpp-641/377960/2 "2016-12-01T19:51:50Z")

</div>

Hello VitalyGintsar,

Can you provide me with steps to reproduce this in a new blank project?

Can you also provide to me your full logs?

Given the context of your issue it sounds like you are trying to simulate static objects. In order to effectively assist you, we need a way to reproduce this on our end. We updated to PhysX 3.4 for our most recent release.

Let me know if you have further questions or need additional assistance.

Cheers,

---

<div class="post-metadata">

**Author:** ![VitalyGintsar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VitalyGintsar](https://forums.unrealengine.com/u/VitalyGintsar)\
**Post date:** [December 1, 2016, 8:16pm UTC](https://forums.unrealengine.com/t/error-on-package-logphysics-physx-physx-src-npshape-cpp-641/377960/3 "2016-12-01T20:16:39Z")

</div>

Thank you responded!  
Yes, I tried to compile in the working project, and also create a new project and migrated maps to them. The result is the same.  
Here is the log  
[https://we.tl/v5bRTvGAJ9](https://we.tl/v5bRTvGAJ9)

---

<div class="post-metadata">

**Author:** ![VitalyGintsar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@VitalyGintsar](https://forums.unrealengine.com/u/VitalyGintsar)\
**Post date:** [December 3, 2016, 8:55pm UTC](https://forums.unrealengine.com/t/error-on-package-logphysics-physx-physx-src-npshape-cpp-641/377960/4 "2016-12-03T20:55:36Z")

</div>

On 4.14 packaging successful

---

<div class="post-metadata">

**Author:** ![DLROKen](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DLROKen](https://forums.unrealengine.com/u/DLROKen)\
**Post date:** [September 19, 2021, 8:15am UTC](https://forums.unrealengine.com/t/error-on-package-logphysics-physx-physx-src-npshape-cpp-641/377960/5 "2021-09-19T08:15:59Z")

</div>

How do you get the engine to tell you what objects it is trying to simulate? In our server it is giving this error:  
LogPhysicsCore: Error: PHYSX: (D:\Build++Fortnite\Sync\Engine\Source\ThirdParty\PhysX3\PhysX\_3.4\Source\PhysX\src\NpShape.cpp 542) eINVALID\_PARAMETER : PxShape::setFlag(s): triangle mesh, heightfield and plane shapes can only be simulation shapes if part of a PxRigidStatic!

---

<div class="post-metadata">

**Author:** ![Zero-G-Racer](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zero-g-racer/32/620655_2.png) [@Zero-G-Racer](https://forums.unrealengine.com/u/Zero-G-Racer)\
**Post date:** [December 11, 2022, 2:47pm UTC](https://forums.unrealengine.com/t/error-on-package-logphysics-physx-physx-src-npshape-cpp-641/377960/6 "2022-12-11T14:47:09Z")

</div>

i have the same problem since 6 month
