Search Unity

Discussion using Newtonsoft.Json.Linq; Works on Editor but crashes on Build

Discussion in 'Windows' started by vagelis199, Feb 8, 2023.

  1. vagelis199

    vagelis199

    Joined:
    Jul 27, 2012
    Posts:
    182
    I'm using the build-in Newtonsoft.json on Unity LTS 2021.3.
    My code works on Editor without issues, but crashes when running the build.
    Code (CSharp):
    1.  ERROR: SymGetSymFromAddr64, GetLastError: ' ' (Address: 00007FFA42214068)
    2. 0x00007FFA42214068 (UnityPlayer) (function-name not available)
    My Code that might cause the crash

    Code (CSharp):
    1. dynamic jsonparse = JObject.Parse(jsonData);
    2.  
    3.         jsonparse.content_descriptors[0].name;
    4.         string game_name = jsonparse.title_name;
    5.  
    I'm not 100% sure if the above part is the issue, but it probably is something related with JSON since it happens when I press the button which triggers the above code and some more
     
  2. vagelis199

    vagelis199

    Joined:
    Jul 27, 2012
    Posts:
    182