Page 1 of 1

QuestMachinePausePlayer dependency error when restarting scene

Posted: Mon Mar 08, 2021 1:34 pm
by Jbacal
Hi Tony,

I get the following error when I don't include a player prefab in the Invector "Simple GameController Example" component:

Can't remove vThirdPersonController (Script) because QuestMachinePausePlayer (Script) depends on it

Can I simply comment out the requirement in the code? Is there a better solution? I need to restart the scene because the Malbers Animal Controller needs the player to reinitialize the player reference with the Hook Transform component.


Thanks, Jay

Re: QuestMachinePausePlayer dependency error when restarting scene

Posted: Mon Mar 08, 2021 5:18 pm
by Tony Li
Hi Jay,

Yes, you can comment it out. I think I've already removed it in the updated integration package in the next version of Quest Machine.

Re: QuestMachinePausePlayer dependency error when restarting scene

Posted: Mon Mar 08, 2021 6:19 pm
by Jbacal
Good to know. Thanks.