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

Using scripts from Unity packages, IDE finds them but Unity compiler does not.

Discussion in 'Scripting' started by crogers, Jun 18, 2020.

  1. crogers

    crogers

    Joined:
    Jul 14, 2012
    Posts:
    8
    Im trying to use some code from the digital human project. That code is in a package that ends with -@9797c3 (something similar with @ and -) which I cannot access by using "using"; Rider can find it and index it, it finds the name Unity.DemoTeam. but unity says:


    Assets\Scripts\Editor\VisBakerWindow.cs(10,13): error CS0234: The type or namespace name 'DemoTeam' does not exist in the namespace 'Unity' (are you missing an assembly reference?)

    Everything works, i just cant access code in that package from my scripts.
     
  2. Vectrex

    Vectrex

    Joined:
    Oct 31, 2009
    Posts:
    267
    Bump, I can't use this either