[팁] [unity3d]BCE0019 오류코드 처리 방법
BCE0019 오류코드 처리 방법
First off, welcome to the forums!
I think that the problems may be due to the following lines of code:
In particular lines 29 and 31 are suspect. Line 29 adds a component (Rigidbody), but body is then of type Component and not of type Rigidbody (thus the error about isKinematic not being part of a Component, when it is part of a Rigidbody component in specific). I think that the easiest fix is like this:
We have a reference to the game object, after adding the rigidbody component we can access it straight away. Try that!
I think that the problems may be due to the following lines of code:
Code:
26: if (!springJoint) 27: { 32: }
In particular lines 29 and 31 are suspect. Line 29 adds a component (Rigidbody), but body is then of type Component and not of type Rigidbody (thus the error about isKinematic not being part of a Component, when it is part of a Rigidbody component in specific). I think that the easiest fix is like this:
Code:
26: if (!springJoint) 27: { 32: }
We have a reference to the game object, after adding the rigidbody component we can access it straight away. Try that!
▼ 이 게시물의 댓글 + 0
* 엮인글 + 0