Game Development Community

Assertion Failed on skin object

by Joker S Grin · in Artist Corner · 03/03/2002 (4:27 pm) · 11 replies

I have been getting this error when trying to export a single mesh character with a biped attached to it

I had got rid of this error for a bit and managed to export but the model would work in the show tool but crash out the game when you tried to use it as a player

Ive shown the linkage to a few people who have been successful and they were stumped

Im using 3dsmax4.26 and a proper *.cfg file

anyone else have this prob?

#1
03/03/2002 (6:04 pm)
Joker,

Why don't you post your Max files so that we can attempt to recreate the error.
#2
03/03/2002 (6:06 pm)
sure one sec I can email it to you as well
#3
03/03/2002 (6:07 pm)
also check your dump file.

It will usually tell you where it crashed, sometimes down to the specific bone and vertex.
#4
03/03/2002 (6:07 pm)
dont get a dumpfile with this failure
#5
03/03/2002 (6:15 pm)
and thanks for the prompt replies : )
#6
03/03/2002 (6:24 pm)
Dump file says it crashing on spine 2.

If I convert to an editable mesh it tells me vertex 918 has no weight.

I loaded a .bip file and the character has vertices without weights on them.

Fix these and it should export.
#7
03/03/2002 (6:30 pm)
so could it be partly because I left it as an editable pOly? I understand the weighted vertices problem I have gotten that error and have gone through and weighted the vertices but with the

"assertion failed in the skin object" error I wasnt even left a dump file to explore


thanks for all the help Its is greatly appreciated
#8
03/03/2002 (7:19 pm)
hes all in there and working fine

aside from the vertice weighting changine him from an editable poly to an editable mesh got rid of the assertion error on the skin object

at least that was the only major change thank you very much Joe

: )
#9
03/03/2002 (7:23 pm)
Joker, Joe's right. I got vertex 3185 missing weight when I converted to an Edit Mesh and exported. I went in and looked at your skin modifier and it looks like you've got several vertices without weights attached to them. That seems to be your culprit (besides the EditPoly mesh).

I'm sure you already know this Joker, but for those who are new to this (as I was a month ago), when you apply the skin modifier to your mesh (and it should be an edit mesh) you need to make sure that every vertex has a weight assignment. This is important due to the fact that your bones (or biped) structure needs this to effectively animate the model.

I also noticed that your envelope for Bip01 Spine2 is assigning weights to the hands as well. You might want to check this too.

Nice model, tho. Good luck.
#10
03/03/2002 (7:24 pm)
Doh! Joe's too damn fast. Heh. Glad you got it working Joker. ;O)
#11
03/03/2002 (7:27 pm)
joe to Ryhe thanks for the help

yeah The weighting was done quickly was like the 20th time I added a biped to him heheheh never occured me to change from an editable poly to an editable mesh DOH!!

Im gonna refine the weighting now


thanks for the compliment on the model forgive the texture its a template