Search found 9 matches
- Sat Jul 25, 2020 6:36 pm
- Forum: Dialogue System for Unity
- Topic: Alerts on loadFromSlot
- Replies: 17
- Views: 1302
Re: Alerts on loadFromSlot
That did the trick, thanks a lot for your help.
- Fri Jul 24, 2020 10:41 pm
- Forum: Dialogue System for Unity
- Topic: Alerts on loadFromSlot
- Replies: 17
- Views: 1302
Re: Alerts on loadFromSlot
I imported the pacakge and sadly it didn't fix the issue, could it be that im missing something?
- Fri Jul 24, 2020 9:22 pm
- Forum: Dialogue System for Unity
- Topic: Alerts on loadFromSlot
- Replies: 17
- Views: 1302
Re: Alerts on loadFromSlot
Im not destroying the objects, they are just being set to inactive by the MultiActiveSaver. what i have is a GameObject which has a MultiActiveSaver which has reference as objects to watch, to his childs, which each one has an IncrementOnDestroy component. What i believe is happening is that as soon...
- Fri Jul 24, 2020 8:46 pm
- Forum: Dialogue System for Unity
- Topic: Alerts on loadFromSlot
- Replies: 17
- Views: 1302
Re: Alerts on loadFromSlot
I think i kinda understand how the BeforeSceneChange/LevelWillBeUnloaded works, and as i wrote in the code, im calling it right before the SceneManager.LoadSceneAsync(). Now, im using the MultiActiveSaver with GameObjects that have the IncrementOnDestroy component attached to them, which leads me to...
- Fri Jul 24, 2020 8:10 pm
- Forum: Dialogue System for Unity
- Topic: Alerts on loadFromSlot
- Replies: 17
- Views: 1302
Re: Alerts on loadFromSlot
Ingame scene.
- Fri Jul 24, 2020 7:44 pm
- Forum: Dialogue System for Unity
- Topic: Alerts on loadFromSlot
- Replies: 17
- Views: 1302
Re: Alerts on loadFromSlot
I tried calling LevelWillBeUnloaded() before my scene load, which looks like this: IEnumerator LoadingGame() { PixelCrushers.DialogueSystem.PersistentDataManager.LevelWillBeUnloaded(); asyncLoadLevel = SceneManager.LoadSceneAsync("Ingame", LoadSceneMode.Additive); yield return new WaitUnti...
- Fri Jul 24, 2020 6:36 pm
- Forum: Dialogue System for Unity
- Topic: Alerts on loadFromSlot
- Replies: 17
- Views: 1302
Re: Alerts on loadFromSlot
Alright, i was calling SaveSystem.BeforeSceneChange() in a component located in my login scene(which does not have Dialogue Manager prefab) right before doing SceneManager.LoadScene(). Now im calling SaveSystem.BeforeSceneChange() right before calling the LoadFromSlot() in my ingame scene, and it do...
- Fri Jul 24, 2020 3:46 pm
- Forum: Dialogue System for Unity
- Topic: Alerts on loadFromSlot
- Replies: 17
- Views: 1302
Re: Alerts on loadFromSlot
Indeed, the alerts come from an Increment On Destroy component. The thing is that im using SaveSystemMethods.LoadFromSlot(), AFTER i do the loadScene(Which i do myself, not using the Dialogue Sytem load scene methods) which is done in an Start() method of a component. In the meantime i used SaveSyst...
- Fri Jul 24, 2020 1:34 am
- Forum: Dialogue System for Unity
- Topic: Alerts on loadFromSlot
- Replies: 17
- Views: 1302
Alerts on loadFromSlot
Hi all, the issue that im having is that when i use the LoadFromSlot method, from saveSystemMethods, after loading a new scene, the alert messages that occurred in my previous saved session, suddenly pop up. I've done my research in the forum, and the solution that tony suggests and as far as i had ...