Updated UIS integration for Save System?

Announcements, support questions, and discussion for the Dialogue System.
dancinggoat23
Posts: 29
Joined: Mon Mar 02, 2020 1:44 pm

Updated UIS integration for Save System?

Post by dancinggoat23 »

Hi

Since updating Opsive's UIS, I'm getting a compilation error in the Opsive UIS Support component SaveSystemManagerNoDisk.cs:

Assets/Pixel Crushers/Common/Third Party Support/Opsive UIS Support/Scripts/SaveSystemManagerNoDisk.cs(17,33): error CS0115: 'SaveSystemManagerNoDisk.GetSavesFromDisk(ref Dictionary<int, SaveData>)': no suitable method found to override

Looks like Opsive changed the base class SaveSystemManager significantly. Is there an updated integration package available? I installed the Opsvie packages for both Dialogue System and Quest Manager, but neither one resolved the issue...

thanks!
Dave
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Updated UIS integration for Save System?

Post by Tony Li »

Hi Dave,

I plan to send an updated integration package to Opsive by the end of the day. I'll also post it here.
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Updated UIS integration for Save System?

Post by Tony Li »

I had to send an issue back to the UIS developer. I'll try to have the updated integration available on the Dialogue System Extras page tomorrow.

In the meantime, this patch should resolve the compiler error:

Opsive_UIS_Common_2021-10-09.unitypackage

(Updated on 2021-10-09.)
dancinggoat23
Posts: 29
Joined: Mon Mar 02, 2020 1:44 pm

Re: Updated UIS integration for Save System?

Post by dancinggoat23 »

You are absolutely the most responsive and helpful developer on the Asset Store! Thank you so much!
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Updated UIS integration for Save System?

Post by Tony Li »

Glad to help! I've sent the updated integrations to Opsive. They should be available soon -- but, apart form updating the demo scene, everything is the same as in the previous integration package plus the patch above.

Opsive will be pushing out another small UIS bugfix update soon that fixes an issue with loading saved games.
danosono
Posts: 16
Joined: Sun Jun 21, 2020 7:17 pm

Re: Updated UIS integration for Save System?

Post by danosono »

I just got this error today after revisiting an old project (over a year old) and updating both Opsive Ultimate Inventory System and Dialogue System (in that order)- the updates were performed yesterday though. (I have been back in this project for a month or two now)

This morning Unity Crashed when I changed the name of an Item Category (Tools -> Opsive -> Ultimate Inventory System -> Main Manager) - a pop up quickly flashed (didn't catch anything) and then crash to desktop. When I opened the project again, I got the error.

Assets\Pixel Crushers\Common\Third Party Support\Opsive UIS Support\Scripts\SaveSystemManagerNoDisk.cs(17,33): error CS0115: 'SaveSystemManagerNoDisk.GetSavesFromDisk(ref Dictionary<int, SaveData>)': no suitable method found to override

Assets\Pixel Crushers\Common\Third Party Support\Opsive UIS Support\Scripts\SaveSystemManagerNoDisk.cs(41,33): error CS0115: 'SaveSystemManagerNoDisk.LoadInternal(int)': no suitable method found to override

I reported to Unity but not with the project because it is large.

Ultimate Inventory System: 1.2.12 (Current) - released on December 08, 2022
Dialogue System for Unity: 2.2.33 (Current) - released on November 08, 2022

Most of my (Opsive) inventory is sample data just figuring it all out so no problem to delete it all.
I do have a few conversations in the Dialogue System but, honestly, they need to be redone.

Should I just remove both assets and start fresh?

Update: I just checked and I committed after updating Opsive but not after updating Dialogue System so I could also Discard the Dialogue System update and start over.

NOTE: For both Opsive's and Pixel Crushers' updates, I just imported the files that were automatically checked; there were other files which denoted a change (not new) that were not checked; of particular note, 3rd party support was checked on the one that indicated it should be (can't remember or find it now). Now, when I click import, the window says there is nothing to import.

Thanks for any direction!
Attachments
2023-01-16_07h07_29.png
2023-01-16_07h07_29.png (211.31 KiB) Viewed 780 times
Jesus is the answer to every problem.
https://www.gotquestions.org/know-Jesus.html
https://store.steampowered.com/app/2151420/Word/ Longest typing game on Steam OO
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Updated UIS integration for Save System?

Post by Tony Li »

I'll check the latest UIS integration. Opsive has been making some UIS changes necessary to support the latest UCC version 3. It may require an update to the DS UIS integration.
danosono
Posts: 16
Joined: Sun Jun 21, 2020 7:17 pm

Re: Updated UIS integration for Save System?

Post by danosono »

Thank you sir!
Jesus is the answer to every problem.
https://www.gotquestions.org/know-Jesus.html
https://store.steampowered.com/app/2151420/Word/ Longest typing game on Steam OO
User avatar
Tony Li
Posts: 21962
Joined: Thu Jul 18, 2013 1:27 pm

Re: Updated UIS integration for Save System?

Post by Tony Li »

Hi,

The script you posted is outdated. Please download and import the latest UIS integration from Opsive's site. (When you inspect the component, it should show "The UIS integration no longer uses this component.")
danosono
Posts: 16
Joined: Sun Jun 21, 2020 7:17 pm

Re: Updated UIS integration for Save System?

Post by danosono »

Thanks for looking into it.

Do you mean I should download the Dialogue System download from https://opsive.com/downloads/ ?

Please take a look at my project folder (image attached). Looks like I have Pixel Crushers in there twice, once under assets (only 3rd party stuffs) and once under Plugins.

Does that shed any light?

Thanks!
Attachments
2023-01-16_21h23_28.png
2023-01-16_21h23_28.png (73.74 KiB) Viewed 746 times
2023-01-16_21h09_52.png
2023-01-16_21h09_52.png (190.43 KiB) Viewed 746 times
Jesus is the answer to every problem.
https://www.gotquestions.org/know-Jesus.html
https://store.steampowered.com/app/2151420/Word/ Longest typing game on Steam OO
Post Reply