Search Unity

Editor's anchor display disappearing

Discussion in 'UGUI & TextMesh Pro' started by LesBloom, Jan 16, 2019.

  1. LesBloom

    LesBloom

    Joined:
    Feb 2, 2017
    Posts:
    167
    Recently (possibly since upgrading to 2018.3.0f2) I have been running into an editor bug. The anchor displays for a canvas and it's elements stop displaying in the editor. By anchors, I mean the bounding regions of the Ui elements and hierarchy.

    Opening a new scene doesn't fix it.
    Restarting Unity seems to be the only fix.
    *Gizmos are on*

    I think that maybe it starts after I use the new prefab editor, but I am not 100% sure on that.

    Has anyone else been seeing this?

    Any help would be appreciated
     
  2. LesBloom

    LesBloom

    Joined:
    Feb 2, 2017
    Posts:
    167
    I just noticed this warning

    [Warning] Prefab Mode in Play Mode was blocked by the script 'TextMeshProUGUI' to prevent the script accidentally affecting Play Mode. See the documentation for [ExecuteInEditMode] and [ExecuteAlways] for info on how to make scripts compatible with Prefab Mode during Play Mode.

    I have no idea if it's related or not, but it seems suspicious at the least.