You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using SimpleJSON in custom packages either results in
including the files unchanged, meaning that it will break when it is added to projects containing other packages that do this
including the files, but appending your namespace to the SimpleJSON namepace. this prevents collisions, but the json types in one namespace can't be converted to the same json types in another namspace without serializing the objects to a string and deserializing them back to an object.
using one of the unofficial forks which are often severely desynchronised from the main repo
My proposed solutions are
Convert the SimpleJSON repo into a Unity Package (unlikely)
Add a branch to the SimpleJSON repo which contains the Unity Package (tricky to move changes from main branch to package branch)
Create an entire new repo for the Unity Package, and clone the SimpleJSON repo into a folder named Runtime/SimpleJSON. Add a .gitignore file to the SimpleJSON repo ignoring any *.meta files. When changes are made to SimpleJSON, they can be pulled to the repo inside the Unity Package repo, then the Unity Package can push those changes to it's own repo.
The text was updated successfully, but these errors were encountered:
It's really basic right now. I just created the bare minimum to make this work in all projects, that previously used to install this manually. Imho there aren't really any downsides of just moving everything to a Runtime folder and adding the necessary config files. If you just want to download the package, you can still do so. Would love to create a pull request, if the author of this package is interested.
I also added a README file with installation instructions.
Using SimpleJSON in custom packages either results in
My proposed solutions are
Runtime/SimpleJSON
. Add a.gitignore
file to the SimpleJSON repo ignoring any*.meta
files. When changes are made to SimpleJSON, they can be pulled to the repo inside the Unity Package repo, then the Unity Package can push those changes to it's own repo.The text was updated successfully, but these errors were encountered: