troubles with menu framework and save system troubles

Announcements, support questions, and discussion for the Dialogue System.
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: troubles with menu framework and save system troubles

Post by Tony Li »

Hi,

Thanks for sending the repro project. Can you remove the DontDestroy script from your Player and Main Camera GameObjects? They don't need to be marked Don't Destroy On Load. This should fix the issue.
tohaMem
Posts: 21
Joined: Sat Oct 07, 2023 9:05 am

Re: troubles with menu framework and save system troubles

Post by tohaMem »

Hmm...without Don't destory on Player and Camera I got errors.
For Player it's like I can't go in another locations, because character destroys (and he's not on another location)
And for Camera, when I create a new game:
Image
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: troubles with menu framework and save system troubles

Post by Tony Li »

Since the Main Camera points to the Player, you must remove the DontDestroy script from both. If you add the Main Camera and Player to all gameplay scenes, it should work.
tohaMem
Posts: 21
Joined: Sat Oct 07, 2023 9:05 am

Re: troubles with menu framework and save system troubles

Post by tohaMem »

Oh, great! Now it's work, thank you very much!!!
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: troubles with menu framework and save system troubles

Post by Tony Li »

Glad to help!
Post Reply