Forum rules - please read before posting.
Tech questions during the weekend? Drop in on the community Discord channel!

Gather text function broken?

edited March 2015 in Engine development
I'm not sure which update caused this because it has been a while since I generated a new script sheet with the "gather text" function, but it no longer seems to work for my project.

I get this error whenever I try to "gather text": 

StackOverflowException
AC.SpeechManager.ProcessActionListAsset (AC.ActionListAsset actionListAsset, Boolean onlySeekNew) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1684)
AC.SpeechManager.ProcessActions (System.Collections.Generic.List`1 actions, Boolean onlySeekNew, Boolean isInScene) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1722)
AC.SpeechManager.ProcessActionListAsset (AC.ActionListAsset actionListAsset, Boolean onlySeekNew) (at 
Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1683)
AC.SpeechManager.ProcessActions (System.Collections.Generic.List`1 actions, Boolean onlySeekNew, Boolean isInScene) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1722)
AC.SpeechManager.ProcessActionListAsset (AC.ActionListAsset actionListAsset, Boolean onlySeekNew) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1683)
AC.SpeechManager.ProcessActions (System.Collections.Generic.List`1 actions, Boolean onlySeekNew, Boolean isInScene) (at 
Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1722)

The previous lines repeat hundreds of times.

I also reset the text and got a similar error:

StackOverflowException
AC.SpeechManager.ClearLinesFromActionListAsset (AC.ActionListAsset actionListAsset) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1471)
AC.SpeechManager.ClearLines (System.Collections.Generic.List`1 actions) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1510)
AC.SpeechManager.ClearLinesFromActionListAsset (AC.ActionListAsset actionListAsset) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1470)
AC.SpeechManager.ClearLines (System.Collections.Generic.List`1 actions) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1510)
AC.SpeechManager.ClearLinesFromActionListAsset (AC.ActionListAsset actionListAsset) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1470)
AC.SpeechManager.ClearLines (System.Collections.Generic.List`1 actions) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1510)
AC.SpeechManager.ClearLinesFromActionListAsset (AC.ActionListAsset actionListAsset) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1470)
AC.SpeechManager.ClearLines (System.Collections.Generic.List`1 actions) (at Assets/AdventureCreator/Scripts/Managers/SpeechManager.cs:1510)

And again these lines repeat nearly ad infinitum. Hence the stack overflow.

Any ideas? 

Comments

  • It's likely because you have a "looping" chain somewhere, where an ActionList 1 references ActionList 2, and vice versa.  In 1.42c, that'll cause the error you describe.  But, it's been fixed for 1.43, so look out for it's release hopefully later this week.
  • Awesome, thanks as always!
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.
Do NOT follow this link or you will be banned from the site!