Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[duplicate] Changes to sorting order of TextMeshPro in prefab-mode do not save

Discussion in 'Prefabs' started by Havokki, Oct 29, 2018.

  1. Havokki

    Havokki

    Joined:
    Jun 28, 2015
    Posts:
    118
    Case number 1095656, using Unity 2018.3.0b7.

    Steps to repro:
    1. Create a new gameobject in the scene and add TextMeshPro component
    2. Save the gameobject as a prefab (drag to project view)
    3. Open it in prefab-mode
    4. Make sure Auto Save is ON
    5. Modify the Order in Layer in the component
    6. Exit prefab-mode and re-enter it

    Expected: Changes have been saved.
    Actual: Changes were not saved. Saving the project does not help. Modifying something else after modifying the sorting order causes it to be saved.

    Same issue occurs with Sorting Layer setting. Haven't seen this happen before 2018.3 and its prefab-mode.

    I posted this here too, because I can't attach my project to the report and the "report strength" was thus low.

    EDIT: Marked as a duplicate of https://issuetracker.unity3d.com/is...order-in-layer-value-does-not-dirty-the-scene. I seem to have missed that one.