Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug "m_Name" property inside of assets is only serialized after pressing Save, not after rename

Discussion in '2019.3 Beta' started by fherbst, Dec 3, 2019.

  1. fherbst

    fherbst

    Joined:
    Jun 24, 2012
    Posts:
    802
    One thing that I think is a regression with AssetDatabase v2 is file naming:

    If you rename a file from inside Unity and then commit it in source control, after forcing a researialization in Unity (e.g. pressing Ctrl+S) there's another change in source control, which is the "name" property inside the files. This creates a lot of Source Control noise and actually we had a number of conflicts with that, as the "name" property will stay wrong if someone else pulls the changes from the first commit (the file renames) until whatever reason forces the files to reserialize. This is super confusing.

    upload_2019-12-3_16-30-58.png

    upload_2019-12-3_16-32-19.png

    @LeonhardP is that known?
     
    buraktkgz likes this.