Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. We're excited to be bringing you the newest Unity features, news, demos, and we've even got some special guests from some of the industry’s most storied franchises. Set a reminder to tune in on YouTube here
    Dismiss Notice
  3. Unity 2018.3 is now released.
    Dismiss Notice

Can't refer to UnityEditor lib after creating package

Discussion in 'Package Manager' started by dmytro_warpin, Dec 27, 2018.

  1. dmytro_warpin

    dmytro_warpin

    Joined:
    Jul 2, 2018
    Posts:
    1
    Included package(custom Unity Tool that executing applications builds) in Package Manager by this guide: https://gist.github.com/LotteMakesStuff/6e02e0ea303030517a071a1c81eb016e
    I can see the package. Everything is working fine, except parts of the code that are using UnityEditor library(Getting errors about missing library) in my case it is executing a build of the application.
    Is it a bug or it should work this way?
    UPD: All editor functionality is working fine. I have an error only in the state of Building application.
     
    Last edited: Dec 28, 2018
  2. pedro_unity

    pedro_unity

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    156
    Hello @dmytro_warpin,

    Not sure if it is known. Sounds like a bug. This is not a package shipped by Unity. I believe you could send an email to the package developer to let him know?

    Cheers,
    Pedro
    Unity STE