Skip to main content

243. Unity3d Tutorial - From Scratch Part M - Player Face

See video

In this unity3d video tutorial, we will add the components to the character customization scene that are needed so we can change the face of our character.

Frogames: http://www.frogames.net?r=9

Tags:

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Offline
Joined: Mar 24 2011

Hello Petey.
Love the tuts. And witht that being said i'm having an issue with one of the script.

IndexOutOfRangeException: Array index is out of range.
PlayerModelCustomization.UpdateHead () (at Assets/_Scripts/Character/Character Customization/PlayerModelCustomization.cs:130)
PlayerModelCustomization.Update () (at Assets/_Scripts/Character/Character Customization/PlayerModelCustomization.cs:59)

Not sure where i went wrong i watch your vids a few times and havent seen anything differentand hoping you can help. Thanks in advance.

Petey's picture
Offline
Joined: Feb 3 2010

It looks like you are trying to access an index in the array of different heads that does not exists. Check to see how many different heads you have and add a debug line in there to see what the value is when it errors on you.