Search Unity

  1. Calling all beginners! Join the FPS Beginners Mods Challenge until December 13.
    Dismiss Notice
  2. It's Cyber Week at the Asset Store!
    Dismiss Notice

Can't hide Text Mesh Pro Gizmo in Scene

Discussion in 'Unity UI (uGUI) & TextMesh Pro' started by Little_Gorilla, Feb 11, 2019.

  1. Little_Gorilla

    Little_Gorilla

    Joined:
    Oct 11, 2013
    Posts:
    69
    Been seeing an issue where the gizmo doesn't hide itself in the scene view if it is unchecked. It's a useful asset, but it's getting in the way of what I'm trying to do in the scene.

    If I set the icon to "none' then it will disappear for a moment, but then come back again after a couple seconds.

    On Unity 2018.3.0f2 with the latest version of TextMeshPro from package manager.

    upload_2019-2-11_10-8-1.png
     
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    3,512
    This is an issue with packages where their content is read-only and as such results in such changes not being persistent.

    A bug report has already been filled about this. Hopefully it gets addressed soon.
     
    _watcher_ likes this.
  3. UH4631

    UH4631

    Joined:
    Dec 4, 2018
    Posts:
    2
    I was having the same problem you described. However, I was able to make the icon invisible by hitting the show/hide button (the button is the textmesh pro icon) in the gizmo menu as opposed to setting the icon to none. I am using Unity 2019.1.0b1 so I don't know if this will help.
     
  4. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    3,512
    Changing the gizmo settings as you describe will work since those are project settings. That is how I control the visibility of those icons in my projects.

    Changing the icons assigned to the specific TMP scripts will not work since those scripts are contained in the package and read-only which is the issue that I was referencing.
     
  5. Little_Gorilla

    Little_Gorilla

    Joined:
    Oct 11, 2013
    Posts:
    69
    Thanks for the help Stephan. I tried all sorts of pressing show/hide combos and still doesn't work as expected so I'll wait for the bug to be fixed.
     
  6. Egil-Sandfeld

    Egil-Sandfeld

    Joined:
    Oct 8, 2012
    Posts:
    54
    I fixed it temporarily by removing the gizmo textures in

    Packages/TextMesh Pro/Editor Resources/Gizmos
     
    sinepuller and petey like this.
  7. rosco_y

    rosco_y

    Joined:
    Aug 3, 2016
    Posts:
    8
    When I drill down in the Project Tab, I see the icons, but they don't let me delete them. Can you tell me what you did?

    --thanks
     
  8. petey

    petey

    Joined:
    May 20, 2009
    Posts:
    1,293
    Maybe try right clicking on them and choose reveal in finder (or explorer) then delete them there? Unity could be protecting them.
     
  9. _watcher_

    _watcher_

    Joined:
    Nov 7, 2014
    Posts:
    151
    Thanks, so i simply removed "read only" flag from Packages/TextMesh Pro/"files and subfolders" and it works perfectly now.
     
    mgear likes this.
  10. Trost_

    Trost_

    Joined:
    Dec 12, 2015
    Posts:
    9
    My god, this is so f-ing counterintuitive, that after reading this thread I was still confused and then I re-read it again in 5 min to get what's going on. :mad::mad::mad:
    This guy has a right answer, but even reading his instructions, it took me a while to realize.

    Of course now, when I know that icon is clickable it makes sense: if you click the icon - you hide the icon. The checkbox is for gizmo, which is basically a white bounding box.
    For example: camera's area of view rectangle is disabled by gismo checkbox, camera icon itself is disabled by clicking the icon in this panel. :)
    Please like my post, so I can know my time explaining this was well spent and I saved you half a hour of messing with files, as advised in other posts...
     
  11. petey

    petey

    Joined:
    May 20, 2009
    Posts:
    1,293
    Hey thanks for the tip! Sadly it doesn't stick for me :( (Good to know though!)
    Aug-02-2019 17-17-49.gif

    I've gone with the method of deleting the Gizmo directory from the TextMeshPro package. This has to be done outside of Unity so right click and go show in finder and delete them there. They will come back if you ever upgrade TMPro but it doesn't take too long to do it.
     
  12. Trost_

    Trost_

    Joined:
    Dec 12, 2015
    Posts:
    9
    Because even with my extensive explanations you managed to do find one more way to do it wrong. :confused:
    Don't click the dropdown triangle. Click the icon directly. RIGHT THE DAMN MIDDLE OF THAT CURSED "T"

    -
    P.S. I tried to replicate your gif (changing the icon in dropdown), and if I do that, I get console error:
    "Importer for Packages/com.unity.textmeshpro/Scripts/Runtime/TextMeshProUGUI.cs has changed in memory, but the asset is read only. Importer settings stored in the meta file will be used."
    And that's why it reverts the icon setting. But that doesn't matter. Just click EXACTLY where I told and there will be no errors, while the icon will stay hidden.
     
    Last edited: Aug 5, 2019
    Egil-Sandfeld and vanxining like this.
  13. petey

    petey

    Joined:
    May 20, 2009
    Posts:
    1,293
    Haha, yeah that’s really intuitive :) thanks for the update.
     
  14. Egil-Sandfeld

    Egil-Sandfeld

    Joined:
    Oct 8, 2012
    Posts:
    54
    Wow yep, that also caught me out. Thanks for detailing it, Trost_
     
    Trost_ likes this.