Skip to content

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

@SimonDarksideJ

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions