Forum rules - please read before posting.

Issue with lip-syncing to 2D Character sprites

edited November 2014 in Technical Q&A
Hi,
I'm trying to use lip-syncing for 2d character. I followed your tutorial Chris, but I don't why, it seems I'm not able to make it hehe.
This is what unity told me:

NullReferenceException: Object reference not set to an instance of an object
AC.Char.ProcessLipSync () (at Assets/AdventureCreator/Scripts/Character/Char.cs:1869)
AC.Char.AnimUpdate () (at Assets/AdventureCreator/Scripts/Character/Char.cs:439)
AC.Char._Update () (at Assets/AdventureCreator/Scripts/Character/Char.cs:255)
AC.Player.Update () (at Assets/AdventureCreator/Scripts/Character/Player.cs:87)

If you have any idea what's wrong, I will be very grateful.

Comments

  • Seems it's looking for a Shapeable script that it can't find.  Have you attached one to your Player or sprite child?
  • I add Shapeable script to Sprite Child and it's work now!
    Thank you so much :)
  • No problem - you shouldn't have to add this (it's a bug that'll be fixed in 1.41), but glad it's working.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.