Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unity Engine Vector 3 structure does not convert to JSON properly(missing Type) and prevents converting from json to object #19

Open
thatgreatAlice opened this issue Feb 22, 2024 · 0 comments

Comments

@thatgreatAlice
Copy link

Hello, I am trying to turn into json a class with a bunch of properties and a dictionary. That dictionary uses Vector 3 as its key.

I had noticed that when I try to make this class into a json, and then try to convert that json into a file, I get this error in unity.
Captura de pantalla (656)

When looking at the json to see if anything was wrong, I noticed that the json dictionary section doesn´t store the type of the key being used and thus doesn´t know how to convert it back from a string into a Vector3.

Captura de pantalla (657)

Is there any way to fix this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant