Repository navigation
[Question] Issues regarding JSON export and import #39
Slebee
started this conversation in
Master Inventory Engine
Replies: 1 comment 6 replies
|
My main goal is to allow others to edit item data outside of Unity; or would the Unified approach be better suited for this? I chose the ScriptableObject pattern because other features I'm developing require items to be referenced directly as ScriptableObjects. |
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi there. I exported the data to JSON and built a web-based management system to edit the item information. However, since I switched my project's data model to use ScriptableObjects, I ran into an error when importing the edited data back: "There are not enough ScriptableObjects for item [Lucky Fruit]; please add the same number of ScriptableObjects as the JSON data entries before attempting to import (Count: 181)." I realize the issue is a mismatch between the data and the ScriptableObjects; what is the best way to handle this situation?
All reactions