Playmaker Save Image action gives error

Discussion and help for Easy Save 3
Post Reply
illustrator
Posts: 4
Joined: Mon Jan 17, 2022 4:43 pm

Playmaker Save Image action gives error

Post by illustrator »

Hi

Playmaker Save Image action gives an error:

System.NullReferenceException: Object reference not set to an instance of an object
at ES3.SaveRaw (System.Byte[] bytes, ES3Settings settings)

I've used the ES3 File Create action like so:

I suppose there's something I'm missing setting this up correctly?

Regards
Attachments
easy-save-playmaker-action-2.PNG
easy-save-playmaker-action-2.PNG (21.65 KiB) Viewed 665 times
easy-save-playmaker-action.PNG
easy-save-playmaker-action.PNG (24.47 KiB) Viewed 665 times
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: Playmaker Save Image action gives error

Post by Joel »

Hi there, and thanks for getting in contact.

The ES3File API is depreciated and is only included for legacy reasons. You should only use actions documented here:

https://docs.moodkie.com/easy-save-3/es ... -overview/
In your case, you should set the location to Cache in Tools > Easy Save 3 > Settings, and use the Cache File and Store Cached File actions to to load a file into the cache and to store it back to a file. See https://docs.moodkie.com/easy-save-3/es ... rformance/

If this doesn't resolve your issue, please could you create a new project with a simple scene which replicates your issue and private message it to me with step-by-step instructions.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
illustrator
Posts: 4
Joined: Mon Jan 17, 2022 4:43 pm

Re: Playmaker Save Image action gives error

Post by illustrator »

Okay, thanks! I'll try your solution and I'll get back to you with the results and yes I can create a simple project if the issue is not resolved.

All the best
Post Reply