6 Errors when dying

Updated on March 21, 2017 in  [R] Models
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
1 on March 18, 2017

Hey Guys, im doing this brackeys tutorial and im on this video
https://www.youtube.com/watch?v=Jibyq7eAmH0&list=PLPV2KyIb3jR4u6zeBY77WPj0KuFdmv84g&index=23
and i do all that and when i fall with the ball i get all this errors
—–
error 1
Adjacencies::CreateDatabase: can’t work on non-manifold meshes. Try to use the PxConvexFlag::eINFLATE_CONVEX flag. (see PxToolkit::createConvexMeshSafe)
UnityEngine.GameObject:SetActive(Boolean)
Destructible:Destruct() (at Assets/Scripts/Destructible.js:11)
$:MoveNext() (at Assets/Scripts/KillOnHit.js:5)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
——
error 2
Adjacencies::CreateDatabase: can’t work on non-manifold meshes. Try to use the PxConvexFlag::eINFLATE_CONVEX flag. (see PxToolkit::createConvexMeshSafe)
UnityEngine.GameObject:SetActive(Boolean)
Destructible:Destruct() (at Assets/Scripts/Destructible.js:11)
$:MoveNext() (at Assets/Scripts/KillOnHit.js:5)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
—–
error 3
Failed to create Convex Mesh from source mesh “Ball_cell_007”. Source mesh is likely have too many smooth surface regions. Please reduce the surface smoothness of the source mesh. Alternatively turn on Inflate Mesh and increase the Skin Width sufficiently for this mesh.
UnityEngine.GameObject:SetActive(Boolean)
Destructible:Destruct() (at Assets/Scripts/Destructible.js:11)
$:MoveNext() (at Assets/Scripts/KillOnHit.js:5)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
—–
error 4
Adjacencies::CreateDatabase: can’t work on non-manifold meshes. Try to use the PxConvexFlag::eINFLATE_CONVEX flag. (see PxToolkit::createConvexMeshSafe)
UnityEngine.GameObject:SetActive(Boolean)
Destructible:Destruct() (at Assets/Scripts/Destructible.js:11)
$:MoveNext() (at Assets/Scripts/KillOnHit.js:5)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
—–
error 5
Gu::ConvexMesh::loadConvexHull: convex hull init failed! Try to use the PxConvexFlag::eINFLATE_CONVEX flag. (see PxToolkit::createConvexMeshSafe)
UnityEngine.GameObject:SetActive(Boolean)
Destructible:Destruct() (at Assets/Scripts/Destructible.js:11)
$:MoveNext() (at Assets/Scripts/KillOnHit.js:5)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
—–
error 6
Failed to create Convex Mesh from source mesh “Ball_cell_007”. Source mesh is likely have too many smooth surface regions. Please reduce the surface smoothness of the source mesh. Alternatively turn on Inflate Mesh and increase the Skin Width sufficiently for this mesh.
UnityEngine.GameObject:SetActive(Boolean)
Destructible:Destruct() (at Assets/Scripts/Destructible.js:11)
$:MoveNext() (at Assets/Scripts/KillOnHit.js:5)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
—–
and this is the script


#pragma strict
var ballRigidbody : Rigidbody;

var ballCollider : SphereCollider;

var pieces : GameObject;

var wholeball : GameObject;
function Destruct () {

ballRigidbody.isKinematic = true;

ballCollider.enabled = false;

pieces.SetActive(true);

wholeball.SetActive(false);

}


please help me

  • Liked by
Reply
0 on March 21, 2017

help?

  • Liked by
Reply
Cancel