Skip to content

BUG: Compile Error: 'Segment' is a namespace but is used like a type #509

Closed

Description

@SimonDarksideJ

Unity UI Extensions Bug Report

Describe the bug

I get a compile error when I try to use it with a package called Segment (https://segment.com/docs/)
Library\PackageCache\com.unity.uiextensions\Editor\UIExtensionsMenuOptions.cs(1831,36): error CS0118: 'Segment' is a namespace but is used like a type

This is caused by the following namespace in Segment Package.
using Segment.Serialization;
using Segment.Analytics.Analytics;

uiextensions are obtained via Package Manager
"com.unity.uiextensions": "https://bitbucket.org/UnityUIExtensions/unity-ui-extensions.git"

Action

Review namespaces to avoid collisions
#488 (comment)

Activity

  1. added a commit that references this issue on Jun 5, 2026
    332e8af
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions