Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Feedback *.asset JSON includes TAB chars

Discussion in 'Visual Scripting' started by ncr100, Aug 6, 2022.

  1. ncr100

    ncr100

    Joined:
    Jul 23, 2015
    Posts:
    22
    While working through CodeMonkey's Visual Scripting tutorial, and exploring "how to ask questions" in order to be of help to https://forum.unity.com/threads/uni...-others-at-random-when-using-prefabs.1312368/ I looked at the *.asset for one of the Visual Scripting elements of the scene. It claims to have JSON, so I parsed it.

    I ran into errors exploring "what could be wrong with the scene for genryuu111" where my JSON includes TAB (\t) characters and is unparseable.

    Removing the tabs manually fixes the JSON conformity.

    Is there an advantage to this? MoreTabsVS.jpg
     

    Attached Files: