neon-age / Smart-Hierarchy

Human-friendly hierarchy for Unity.
MIT License
599 stars 43 forks source link

[Fixed] Critical Build Errors #4

Closed Thane5 closed 3 years ago

Thane5 commented 3 years ago

I tried building for x64 Windows, but got 7 Errors that would prevent it.

The error message was always a variation of this:

Library\PackageCache\com.av.smart-hierarchy@94113c3d21\Base\HierarchySettingsProvider.cs(8,26): error CS0234: The type or namespace name 'EditorGUI' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)

After removing Smart Hierarchy the build process did complete as it should.

Screenshot of the Console: Screenshot 2020-11-11 182659

neon-age commented 3 years ago

I wrote in pull request the reasoning behind this problem.

neon-age commented 3 years ago

Here's a little nasty, temporary workaround for it: image

I hope noone builds games for x32 machines these days, eh?

neon-age commented 3 years ago

Oh freak, it actually doesn't work, because Unity always builds for x32 :( I guess I'll have to make it even nastier: image