Skip to content

GizmoUtilities includes UnityEditor #7

@SonicZentropy

Description

@SonicZentropy

Was just helping a friend solve his Unity build errors and they came from this package. GizmoUtilities.cs attempts to reference UnityEditor.dll, which is perfectly fine in-editor, but is stripped from Builds. UnityEditor.dll does not exist during or after build, so code that isn't in an Editor/ folder cannot use it. This means it's currently impossible to build this package as-is within Unity. The portions of GizmoUtilities dealing with Handle need to be moved to an Editor/ folder instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions