Forum rules - please read before posting.

AC seems to forward the wrong prfix for Lipsync

Heya!

I noticed that I got this error when using Lipsync Pro:

No LipSync data found for Leon, line ID 414

-----------------------------
UnityEngine.Debug:LogWarning(Object, Object)
AC.ACDebug:LogWarning(Object, Object) (at Assets/AdventureCreator/Scripts/Static/ACDebug.cs:26)
AC.RogoLipSyncIntegration:Play(Char, String, Int32, String) (at Assets/AdventureCreator/Scripts/Static/RogoLipSyncIntegration.cs:90)
AC.Speech:.ctor(Char, String, Int32, String, Boolean, Boolean, Boolean) (at Assets/AdventureCreator/Scripts/Speech/Speech.cs:134)
AC.Dialog:StartDialog(Char, String, Boolean, Int32, Boolean, Boolean) (at Assets/AdventureCreator/Scripts/Speech/Dialog.cs:111)
AC.ActionSpeech:StartSpeech() (at Assets/AdventureCreator/Scripts/Actions/ActionSpeech.cs:472)
AC.ActionSpeech:Run() (at Assets/AdventureCreator/Scripts/Actions/ActionSpeech.cs:117)
AC.<RunAction>c__Iterator2:MoveNext() (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:329)
UnityEngine.MonoBehaviour:StartCoroutine(String, Object)
AC.ActionList:ProcessAction(Int32) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:293)
AC.ActionList:BeginActionList(Int32, Boolean) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:261)
AC.ActionList:Interact(Int32, Boolean) (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:172)
AC.ActionList:Interact() (at Assets/AdventureCreator/Scripts/ActionList/ActionList.cs:151)
AC.<UseObject>c__IteratorA:MoveNext() (at Assets/AdventureCreator/Scripts/Controls/PlayerInteraction.cs:1121)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

This error should be literally impossible, since I unchecked "Use Player prefab name in filenames?". It does find the filenames just fine, which is named "Player414" in this case.
Is there any workaround for this? Or did I miss something obvious again?

Cheers and thanks!

Comments

  • After much tears a friend helped me. This is the workaround he proposed:

    in line 52 in RogoLipSyncIntegration.cs 
    filename += speakerName + lineNumber;

    speakerName does not equal "Player" if it's a playerline

    hoewever it can be forced by pasting 
    speakerName = KickStarter.speechManager.GetLineFilename (lineNumber);
    as line 39

    And it seems to work so far!
  • Thank you for the alert.  Though your fix may work in your case, it may break things for others - could you post a shot of your full Settings and Speech Managers so I can see what settings you've got?
  • edited November 2016
    Sorry for the wait, the weekend was super busy so I wasn't able to check in here.
    Here are my settings:

    image
    image
    image

    and the speech:
    image
  • Thanks - expect a fix in v1.50.
  • Nice!
    Thanks a lot!
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.