Skip to content

Voice deserialization issue #95

Answered by StephenHodgson
ChebanovDD asked this question in Q&A
Discussion options

You must be logged in to vote

This shouldn't typically be a problem and since this package is well established, I will most likely not add the superfluous _ prefix.
Even if I did rename the FormerlySerializedAs("name") attribute would still likely cause serialization errors similar to what you're seeing.

I have seen issues like this before in other project that somehow manage to silently rewrite the serialization options,
do you have a custom serializer or something that changes the default Json serializer in your project?

One that comes to mind is https://github.com/applejag/Newtonsoft.Json-for-Unity.Converters

You'll need to disable the option to automatically serialize/deserialize private fields, or fix the project…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@StephenHodgson
Comment options

Answer selected by StephenHodgson
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #94 on September 11, 2024 12:01.