Page 1 of 1

Manager gameobject destroyed on load

Posted: Wed Jul 05, 2023 5:16 pm
by shortestyard57
For some reason my Quest Machine manager gameobject is getting destroyed on run. I am integrating it with dialogue system and ORK framework. The dialogue system manager moves to DontDestroyOnLoad but the Quest Machine manager is not, instead getting destroyed. Here is my set up and error when I try and call the journal UI.

https://imgur.com/a/lDPLTB5

Re: Manager gameobject destroyed on load

Posted: Wed Jul 05, 2023 5:59 pm
by Tony Li
Hi,

Only one GameObject should have an Input Device Manager component, and only one GameObject should have a Save System component. Your Dialogue Manager GameObject may already have both of those, so remove them from the Quest Machine GameObject.

Re: Manager gameobject destroyed on load

Posted: Wed Jul 05, 2023 7:18 pm
by shortestyard57
Did the trick. Thanks for the quick support.

Re: Manager gameobject destroyed on load

Posted: Wed Jul 05, 2023 7:30 pm
by Tony Li
Glad to help!