Search found 4855 matches

by Joel
Thu Sep 14, 2017 8:37 am
Forum: General Discussion
Topic: Custom type?
Replies: 10
Views: 12958

Re: Custom type?

The method inside the class is meant to be:
public TreeNodeSerializedWrapper() { }
Not:
public void TreeNodeSerializedWrapper() { }
.. as it's meant to be the constructor.
by Joel
Thu Sep 14, 2017 8:30 am
Forum: General Discussion
Topic: Custom type?
Replies: 10
Views: 12958

Re: Custom type?

You can create a new .cs file, or you can add the class to an existing .cs file, whichever is easiest for you.

Once you've carried out all of the steps you should be able to delete it anyway. It's only used so that we can generate an ES3Type with the correct fields.
by Joel
Thu Sep 14, 2017 7:51 am
Forum: General Discussion
Topic: Custom type?
Replies: 10
Views: 12958

Re: Custom type?

Ahh I see, it's strange that they've created a serialise method which doesn't actually serialise the data. Generic classes aren't currently supported in the Easy Save 3 beta as we're only testing core functionality at the moment. You can however manually add support for them by creating a non-generi...
by Joel
Thu Sep 14, 2017 6:30 am
Forum: General Discussion
Topic: Custom type?
Replies: 10
Views: 12958

Re: Custom type?

Hi there, The problem is that you're using an external serialiser to get your class as a byte array (or possibly a string?), but then you're still trying to save this byte array to the file with the type List<TreeNodeSerialized<TNT_PlaylistLine>> . If you change your ES3 lines to use byte[] as the g...
by Joel
Wed Sep 13, 2017 6:39 am
Forum: General Discussion
Topic: ES2 instantiates new objects into empty List on load
Replies: 3
Views: 6236

Re: ES2 instantiates new objects into empty List on load

Hi there,

I've never heard of anything like this happening before.

Would you be able to create a very basic test project which replicates the error and PM me the link and instructions to replicate it?

All the best,
Joel
by Joel
Mon Sep 11, 2017 7:17 pm
Forum: General Discussion
Topic: Delete All?
Replies: 2
Views: 4865

Re: Delete All?

Hi there, If you don't specify a tag, it will delete the entire file. See the documentation for more info: http://docs.moodkie.com/easy-save-2/playmaker/playmaker-actions/delete-action/ In Easy Save 3 you can use the Delete File action: http://docs.moodkie.com/easy-save-3/es3-playmaker/es3-playmaker...
by Joel
Mon Sep 11, 2017 10:42 am
Forum: General Discussion
Topic: [Bug] Serializable Fields looking for wrong Attribute
Replies: 1
Views: 3852

Re: [Bug] Serializable Fields looking for wrong Attribute

Hi Adam,

Thanks for the bug report. This has already been fixed in the latest update which is currently on the Asset Store's approval queue.

All the best,
Joel
by Joel
Mon Sep 11, 2017 10:19 am
Forum: General Discussion
Topic: Management of bad json files
Replies: 3
Views: 5756

Re: Management of bad json files

It was indeed that page which helped me solve the error originally, but that's for sending it my way anyway :)

All the best,
Joel
by Joel
Mon Sep 11, 2017 7:16 am
Forum: General Discussion
Topic: Management of bad json files
Replies: 3
Views: 5756

Re: Management of bad json files

Hi there, It looks like you've discovered an edge case in C# where a using block won't dispose of it's underlying stream if an exception occurs in it's constructor (despite Microsoft's own documentation mentioning nothing about this). It's an easy fix at our end and will be resolved in the next upda...
by Joel
Mon Sep 11, 2017 6:55 am
Forum: Feature Requests
Topic: - Post your Feature Requests in this thread -
Replies: 85
Views: 114379

Re: - Post your Feature Requests in this thread -

Think less of writing a bool as a string, and more for writing classes with similar properties without having to convert between them beforehand. We can use reflection to find out what fields on the object parameter match those found on T, and then write the available fields to the file as T.