Page 1 of 1

StackOverflowException

Posted: Fri Mar 12, 2021 4:10 am
by AArtlone
Hi again,

I have just run into a problem where I get a StackOverflowException if I add a QuestEntity component to the object that already has a QuestGiver component.

However, when trying to reproduce it in the Demo scene, at first I was not able to do that.

I found out that it only happens when the QuestGiver's ID and DisplayName fields are empty.

Steps to reproduce:
  • Go to QuestMachine Demo scene
  • Create an empty GameObject
  • Add QuestGiver component
  • Add QuestEntity component
  • Start the game
This results in either StackOverflowException or Unity completely crushing.

Hopefully, this helps.

Best wishes,
Artem

Re: StackOverflowException

Posted: Fri Mar 12, 2021 9:19 am
by Tony Li
Hi Artem,

Thanks for reporting this. The fix is in the repository for the next release. Here's a patch:

QM_EntityIDPatch_2021-03-12.unitypackage