Search Unity

  1. Improved Prefab workflow (includes Nested Prefabs!), 2D isometric Tilemap and more! Get the 2018.3 Beta now.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Let us know a bit about your interests, and if you'd like to become more directly involved. Take our survey!
    Dismiss Notice
  4. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice
  5. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

Disabling IMGUI module in package manager makes TMP complain

Discussion in 'Unity UI & TextMesh Pro' started by Rodolphito, Jun 12, 2018.

  1. Rodolphito

    Rodolphito

    Joined:
    Jan 31, 2014
    Posts:
    13
    I'd like to cut out unused modules, and since I am not using the old gui system anywhere, then I want to get rid of it. The problem is that Text Mesh Pro depends on it! So, should I give or is there a way to do it? Or am I mistaken in believing that I should cut out modules manually?
     
  2. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    1,734
    The Unity Editor and TextMesh Pro Inspectors need IMGUI.

    If you meant to say UGUI, TextMesh Pro does currently have a dependency on that but that is something I am hoping to change going forward. But until then, TMP requires UGUI.
     
  3. Rodolphito

    Rodolphito

    Joined:
    Jan 31, 2014
    Posts:
    13
    I understand that the editor components need IMGUI, I thought that it could be disabled for the build. Looking at the built executable, the IMGUI DLL is included, although it is not used anywhere in the project, at least not in non-editor scripts. This is why I wanted to remove it.
     
  4. Tudor-Nita

    Tudor-Nita

    Joined:
    Dec 10, 2009
    Posts:
    332
    Would also like to see IMGUI stripped from the built package. Anything planned for that ?
     
  5. Stephan_B

    Stephan_B

    Unity Technologies

    Joined:
    Feb 26, 2017
    Posts:
    1,734
    Yes but no ETA on this yet.
     
    Tudor-Nita likes this.