neon-age / Smart-Inspector

Fluent re-take on Unity Inspector UX. Packed with QoL improvements.
MIT License
922 stars 52 forks source link

UnityEditor import on runtime class #25

Open PaoloAtRebelpug opened 2 years ago

PaoloAtRebelpug commented 2 years ago

Hello there,

I am running the latest version of the smart-inspector and I am getting this error in Unity Cloud Build: [Unity] Local Packages\Open Labs\Smart-Inspector\Runtime\Fluent UITK\Extensions\PropertyFieldExtension.cs(3,19): error CS0234: The type or namespace name 'UIElements' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)

I checked and it's referring UnityEditor in that script, by removing it manually it solve the problem.

Can you have a look please?

Thanks, Paolo

JadenH commented 2 years ago

I also just ran into this issue. Did you find a way to resolve this?