Search Issue Tracker

Not Reproducible

Votes

0

Found in

5.5.0f3

Issue ID

858162

Regression

No

[Physics.PhysX] Cooking::cook/createTriangleMesh error thrown under specific circumstances

Physics

-

To reproduce:
1) Open attached project and scene
2) Play it
3) Notice that no errors appear and generation is done without a hitch
4) Stop it
5) Open StreetCollider.cs and BaseGenerator.cs
6) At Line 1 of each file, uncomment #define ShowError
7) Save files and close them
8) Play again

Expected: Same as step 3
Actual: This error is thrown

[Physics.PhysX] Cooking::cook/createTriangleMesh: user-provided triangle mesh descriptor is invalid!
UnityEngine.MeshCollider:set_sharedMesh(Mesh)

Reproduced in 5.5.0f3, 5.6.2p2, 2017.1.0f3, 2017.2.0b2

Comments (1)

  1. LasseBon

    Sep 19, 2017 04:59

    I am also getting this.

    [Physics.PhysX] Cooking::cook/createTriangleMesh: user-provided triangle mesh descriptor is invalid!
    0x00000001417B4F9B (Unity) StackWalker::GetCurrentCallstack
    0x00000001417B6C4F (Unity) StackWalker::ShowCallstack
    0x0000000141791010 (Unity) GetStacktrace
    0x0000000140D49E7B (Unity) DebugStringToFile
    0x0000000140D4A65C (Unity) DebugStringToFile
    0x0000000140A751F9 (Unity) ErrorStream::reportError
    0x000000014215E712 (Unity) physx::shdfnd::ErrorHandler::reportError
    0x00000001420C729B (Unity) physx::shdfnd::Foundation::errorImpl
    0x00000001420C748D (Unity) physx::shdfnd::Foundation::error
    0x00000001420A9970 (Unity) physx::Cooking::loadTriangleMeshDesc
    0x00000001420AA088 (Unity) physx::Cooking::cookTriangleMesh
    0x0000000140A5F677 (Unity) CreatePxStreamFromUnityMesh
    0x0000000140A5F8C5 (Unity) CreatePxMeshFromUnityMesh
    0x0000000140A75837 (Unity) PhysicsModule::CreateNxMeshFromUnityMesh
    0x00000001414AB479 (Unity) CollisionMeshData::GetSharedNxMesh
    0x0000000140A5EFD2 (Unity) MeshCollider::ExtractMeshGeometry
    0x0000000140A5F15E (Unity) MeshCollider::Create
    0x0000000140A47250 (Unity) Collider::CreatePhysXObjIfNeeded
    0x0000000140A4527E (Unity) Collider::SetEnabled
    0x0000000141072BA5(Unity) scripting_method_invoke
    0x0000000140D7E373(Unity) PlayerLoop
    0x000000014180693C(Unity) CrashCallback
    0x0000000141808584(Unity) WinMain
    0x0000000141AECE74(Unity) strnlen
    0x00007FFE9ABD2774(KERNEL32) BaseThreadInitThunk
    0x00007FFE9D270D51(ntdll) RtlUserThreadStart

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.