Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: hyperbeamart on September 08, 2023, 04:47:37 PM

Title: Binary Load Issue
Post by: hyperbeamart on September 08, 2023, 04:47:37 PM
Hello,
I am having an issue with the Binary Save & Load, where the load function seems to get the information from the save file but it does not assign it to my variable.

You can see in the image I have attached, the test variable in the load window shows 77, which was the previous saved value, but the active test variable is showing a default value of 0.

 It seems as though it is loading the information but not assigning to the variable...

I have used the Binary Save & Load at length in the past with no issue like this, perhaps I am just forgetting something crucial, or is this a bug...?

Thank you very much for your time!
Title: Re: Binary Load Issue
Post by: djaydino on September 09, 2023, 06:25:58 AM
Hi.
Maybe the inspector is not getting updated?

try using the value in game, or use a text to show the value on the text screen.
Title: Re: Binary Load Issue
Post by: hyperbeamart on September 09, 2023, 08:32:20 AM
good idea, I tried that but unfortunately no luck...

I put together the same test on newer version of unity without any luck either. When assembling the new test scene, I did notice an error message upon importing the load action from ecosystem, but after importing the save action the error message went away... I will attach a screenshot of the error message.

Tomorrow I will see if this issue persists on a separate computer...
Title: Re: Binary Load Issue
Post by: colpolstudios on September 09, 2023, 07:21:18 PM
Hi there I hope you don't mind me jumping into the conversation.

Firstly, the author of the actions recommends using the new Json save or json load actions.

They can be found within the ecosystem :)

It would help if you used the new actions, but that does not help with your current issue.

Try looking closely at what information you're trying to load possibly you have assigned the wrong information.

It's very easy when developing to overlook something small but later was obvious.

Go back take your time and work through the fsm.





Title: Re: Binary Load Issue
Post by: hyperbeamart on September 09, 2023, 08:59:44 PM
actually...That was perfectly helpful! Json save seems to be working fine, I didn't even realize it existed...I'm hoping I can simply move forward using Json save instead of the binary.

Thank you so much for the help!