Skip to content

The type or namespace name 'Sentry' could not be found (are you missing a using directive or an assembly reference?) #214

Answered by Dilosen
Dilosen asked this question in Q&A
Discussion options

You must be logged in to vote

I found this: https://docs.sentry.io/platforms/unity/

I assume this is the package.

Installed, but now throws another missing reference for User.

Assets\Samples\WalletConnectUnity Modal\1.1.3\Modal Sample\Scripts\Dapp.cs(49,38): error CS0246: The type or namespace name 'User' could not be found (are you missing a using directive or an assembly reference?)

I see in the Sentry sample it is

        {
            s.User = new SentryUser
            {
                Email = "[email protected]",
                Username = "ant",
                Id = "ant-id"
}

changing the sample script from User to SentryUser resolves this issue.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@skibitsky
Comment options

@Dilosen
Comment options

@skibitsky
Comment options

Answer selected by Dilosen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants