-
-
Notifications
You must be signed in to change notification settings - Fork 62
SDK doesn't compile in Unity #2689
Copy link
Copy link
Open
Labels
Bugsomething isn't working as it shouldsomething isn't working as it shouldErrorsissues relates to the error reporting productissues relates to the error reporting productUnityplatform labelplatform label
Metadata
Metadata
Assignees
Labels
Bugsomething isn't working as it shouldsomething isn't working as it shouldErrorsissues relates to the error reporting productissues relates to the error reporting productUnityplatform labelplatform label
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
No status
Status
No status
SDK Version
4.3.1
Unity Version
6000.3.11f1
Platform
Sentry Environment
Sentry SaaS (sentry.io)
Other Error Monitoring Solution
Yes
Steps to Reproduce
The latest SDK 4.3.1 doesn't compile for Unity 6000.3.11f1 when pulled from UPM. Instead:
There are compilation errors due to the editor AssemblyDefinition package/Editor/io.sentry.unity.editor.asmdef not finding the runtime AssemblyDefinition package/Editor/Runtime/io.sentry.unity.runtime.asmdef.
The runtime AssemblyDefinition package/Editor/Runtime/io.sentry.unity.runtime.asmdef doesn't load in the editor. In the inspector it shows a warning for invalid platforms.
This results in the following compilation error.
I resolved these issues locally by customizing the package, removing the unsupported platforms, and toggling off the "Use Guids" checkbox on the package/Editor/Runtime/io.sentry.unity.runtime.asmdef and manually assigning the package/Editor/Runtime/io.sentry.unity.runtime.asmdef file.
Expected vs Actual Result
Expected: It should just compile on an empty Unity import.
Actual: It does not compile.