Search Unity

Sources under assembly definition don't see Package Manager plugins assembly

Discussion in 'Editor & General Support' started by mmortall, May 9, 2018.

  1. mmortall

    mmortall

    Joined:
    Dec 28, 2010
    Posts:
    89
    For now, I cannot refer to the Package Manager packets in source files which under assembling definition. Is there a way or is it planned to add the way to use Package Manager plugins for some assembling definition files?

    For example, I have file UIText.cs which used TextMeshPro class. And UIText is under assembling definition. It doesn't see TextMeshPro at all. I use latest Unity 2018.1.0f2. Probably it is a bug.

    What I am doing now I just add TMPro from Asset Store. This worked fine for me but this is just a workaround.

    Should I create a bug report or it is intended behavior?
     
    Last edited: May 9, 2018
  2. Gen_Scorpius

    Gen_Scorpius

    Joined:
    Nov 2, 2016
    Posts:
    65
    I was spending the last few hours on that problem too. In order to get the reference to the package manager version of TMP, simply edit the .asmdef file in an editor and add "Unity.TextMeshPro" in the references slot.
     
    Alex_May, IgnisIncendio and mmortall like this.
  3. Alex_May

    Alex_May

    Joined:
    Dec 29, 2013
    Posts:
    198
    This seems like a bug yeah
     
  4. Alex_May

    Alex_May

    Joined:
    Dec 29, 2013
    Posts:
    198
    reported it
     
  5. StephenHodgson-Valorem

    StephenHodgson-Valorem

    Joined:
    Mar 8, 2017
    Posts:
    148
  6. Alex_May

    Alex_May

    Joined:
    Dec 29, 2013
    Posts:
    198
    I got this reply
     
  7. StephenHodgson-Valorem

    StephenHodgson-Valorem

    Joined:
    Mar 8, 2017
    Posts:
    148
    I think this got fixed in 2018.1.6 guys.

    There's now a packages folder under all the other folders in your project window.