Page 1 of 1

Generating Save Component and JSON on scene load

Posted: Mon Jul 24, 2023 3:42 pm
by shortestyard57
For some reason that I have not been able to track down, when I change scenes I am getting a "Some objects were not cleaned up when closing the scene" error showing the save system as the issue. I am using Dialogue System with Quest Machine integrated into ORK Framework, and ORKs save system. The Save System object is not created when I run my first scene, only when I change scenes. Any idea what is causing this?

https://imgur.com/a/DYNGodq

Re: Generating Save Component and JSON on scene load

Posted: Mon Jul 24, 2023 3:52 pm
by Tony Li
Hi,

Add these two components to the Dialogue Manager GameObject:
  • Save System
  • PlayerPrefs Saved Game Data Storer (not used, but suppresses a warning message)
Make sure no other GameObjects have a Save System component.

Re: Generating Save Component and JSON on scene load

Posted: Mon Jul 24, 2023 3:55 pm
by shortestyard57
that did it, thank you!

Re: Generating Save Component and JSON on scene load

Posted: Mon Jul 24, 2023 4:00 pm
by Tony Li
Glad to help!