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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question What is "Asset Pipeline: Implemented accessor for saving data to .meta files"

Discussion in '2023.1 Beta' started by Prodigga, Nov 20, 2022.

  1. Prodigga


    Apr 13, 2011

    Cant find any information about this.
  2. Baste


    Jan 24, 2013
    Maybe an easier way to write stuff to the .meta's userData? Right now you have to grab the assetimporter and do a bunch of wrangling.
    Prodigga likes this.
  3. Unity_Javier


    Unity Technologies

    Mar 7, 2018
    This is my release note :)
    So, it should not have been a public note, but here we are!

    The issue that it addressed was that all over the codebase we had misc. string manipulations to edit some YAML which would result in the contents of a .meta file. When the new AssetOrigin feature (for the Asset Store) needed to add a new optional field to the .meta files, we went ahead and took that opportunity to tidy up the codebase and have a single class that would allow for the creation of the contents of a .meta file.

    Instead of having code sprinkled throughout the codebase that was appending strings in a (hopefully) YAML format, we now go through a single point of entry where we can clearly define what fields should be present in the .meta file, and do a final call to generate the string that represents the .meta file.

    Its not a user facing change, but more of a code cleanup change.
    WinterboltGames and Prodigga like this.