JsonUtility


Introduction

I didn’t end up putting much code to keyboard this week. Though I managed to improve and rewrite my json reader script from last week using another guide from the same YouTube channel. This version uses the JsonUtility class that was added to Unity a few years back, therefore cutting out the need for the plugin which has simplified the script. Using the guide, I also attempted to map the json data to some objects, a task another classmate was working on that I jumped onboard to. However, it is currently returning nulls and zeroes. After looking up a few solutions, one of my main suspects for this is the formatting of the json file. I also spent a couple hours this week following an online course I have mentioned in an earlier post just for general skill building.

Goals

  1.  Assign json values to a game object
  2. Help classmates with json related stuff where needed

Personnel

  • Primary – Jed May
  • Secondary - Ryley Delaney and Zackery Camille

Technologies, tools, and resources used

Tasks undertaken

  1. Recreated JSON reader script without the plug in being used prior, resulting in an easier to read script (1 hour)
  2. Attempted to map json values to a game object (1.5 hours)
  3. Built some skills up through an online course (2.5 hours)

What we found out

My task was vague this week, and though I managed to improve upon what I had to a point where I’m even happier with it, I still felt I was wondering in circles a bit this week.

Open issues/ risks

Json is starting to become a bit of a thorn my side; not just mine but also the entire project’s. With others and I spending so long on this task, less features will be present in the finished product.

Recommendations

A CSV to Json formatter would be ideal moving forward to eliminate the possibility of that being the issue here.

Leave a comment

Log in with itch.io to leave a comment.