Compile Error: 'Segment' is a namespace but is used like a type #488
Unanswered
ysalpha2021
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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"
What measures could be taken to resolve the compilation error?
Beta Was this translation helpful? Give feedback.
All reactions