• "Mwoah" - Kimi Räikkönen
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Dear Guest. Follow RaceDepartment on Twitter, Facebook, Instagram, Twitch, Steam and YouTube.

ERROR Skin: bmw_1m/staiger Invalid JSON primitive: Undefined.

Discussion in 'Assetto Corsa' started by Bobby Brightballs, Jun 10, 2015.

  1. Bobby Brightballs

    Bobby Brightballs
    Premium

    Messages:
    4
    Ratings:
    +1
    Hi

    Does anyone know how I can fix this - I get the error every time I start AC and the car is not available in the car list.

    From the log file:

    "ERROR Skin: bmw_1m/staiger Invalid JSON primitive: Undefined.
    JSON file should contain skinname, drivername, number, country and team."


    Thanks in advance
     
  2. EireGreen™

    EireGreen™
    Premium

    Messages:
    442
    Ratings:
    +274
    Hey
    I know when an error such as this, delete AC & install new.

    Greets:whistling:
     
  3. Bobby Brightballs

    Bobby Brightballs
    Premium

    Messages:
    4
    Ratings:
    +1
    Well I have a better solution from AC staff -->

    ------------------------------------------------------
    In your skins folder of the bmw_1m, find the skin you talk about "staiger"

    There you need to find a file called ui_skin.json and the content of it must be similar to

    {
    "skinname": "15",
    "drivername": "Martin Tomczyk",
    "country": "Germany",
    "team" : "BMW",
    "number": 15
    }

    ------------------------------------------------------

    Seems pretty straightforward. Haven't tested yet though.
     
  4. Radu Oros

    Radu Oros

    Messages:
    1,307
    Ratings:
    +398
    Yes that's the fix, I did the same with older skin files. You can open the json with notepad and use that code structure, but with the info you want. This only changes the skin description on the skin selector, and nothing else about the car skin and driver info.
     
  5. Bobby Brightballs

    Bobby Brightballs
    Premium

    Messages:
    4
    Ratings:
    +1
    Yes that worked - the number in the json file was set as 'undefined' so I changed it to a number :)