Search Unity

Unity YAML

Discussion in 'General Discussion' started by tildebox, Nov 9, 2018.

  1. tildebox

    tildebox

    Joined:
    Nov 6, 2018
    Posts:
    38
    Unity’s scene format is implemented with the YAML data serialization language - latest release 2009.

    Are there plans to change this in the future, e.g. to JSON?

    I prefer YAML.

    What would you prefer?
     
  2. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,769
    Why you are concerned about it?
    Are you manipulate scene file directly?
     
  3. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    The change seems like a lot of wok for no real benefit. I don't expect anyone to propose it anytime soon.

    Doesn't everybody? Sometimes its just more convenient to edit the scene directly.
     
  4. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,769
    I doubt everybody does. But some / many might. ;)
     
  5. elmar1028

    elmar1028

    Joined:
    Nov 21, 2013
    Posts:
    2,359
    What's the point of changing the scene format?

    If they were to change scene format into JSON, they would have to:
    • Have their built-in serialiser work with JSON (read write)
    • Make a converter for XAML to JSON.
    On top of that, it's gonna be backwards incompatible with previous versions of Unity (unless JSON to XAML converter is made).

    That doesn't include time spent on testing everything!

    An opportunity cost would be shipping new features
     
    Kiwasi and Antypodish like this.