QuestMachinePausePlayer dependency error when restarting scene

Announcements, support questions, and discussion for Quest Machine.
Post Reply
Jbacal
Posts: 19
Joined: Sun Jan 24, 2021 9:38 pm

QuestMachinePausePlayer dependency error when restarting scene

Post 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
User avatar
Tony Li
Posts: 21925
Joined: Thu Jul 18, 2013 1:27 pm

Re: QuestMachinePausePlayer dependency error when restarting scene

Post 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.
Jbacal
Posts: 19
Joined: Sun Jan 24, 2021 9:38 pm

Re: QuestMachinePausePlayer dependency error when restarting scene

Post by Jbacal »

Good to know. Thanks.
Post Reply