Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on new install #265

Closed
michaeleconomy opened this issue Jul 20, 2021 · 7 comments · Fixed by #315
Closed

Errors on new install #265

michaeleconomy opened this issue Jul 20, 2021 · 7 comments · Fixed by #315
Labels
Bug Something isn't working

Comments

@michaeleconomy
Copy link

Environment

How do you use Sentry?
to catch and report exceptions

Sentry SaaS (sentry.io) or self-hosted/on-premise (which version?)
saas

Which SDK and version?
e.g: JavaScript 5.11.1, .NET 1.2.0

unity 2020 lts

Steps to Reproduce

1 follow install instructions

Expected Result

no errors

Actual Result

errors:

Assembly for Assembly Definition File 'Packages/io.sentry.unity/Editor/io.sentry.unity.editor.asmdef' will not be compiled, because it has no scripts associated with it.
UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:TickCompilationPipeline (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,string[])

Assembly for Assembly Definition File 'Packages/io.sentry.unity/Runtime/io.sentry.unity.runtime.asmdef' will not be compiled, because it has no scripts associated with it.
UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:TickCompilationPipeline (UnityEditor.Scripting.ScriptCompilation.EditorScriptCompilationOptions,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,string[])

(this next one appears 5 times)
File couldn't be read
UnityEditor.AssetDatabase:Refresh ()
Sentry.Unity.Editor.SentryWindow:CopyLinkXmlToPlugins ()
Sentry.Unity.Editor.SentryWindow:OnEnable ()
UnityEditor.EditorWindow:GetWindow (System.Type)
Sentry.Unity.Editor.SentryWindow:OpenSentryWindow ()

An infinite import loop has been detected. The following Assets were imported multiple times, but no changes to them have been detected. Please check if any custom code is trying to import them:
Assets/Plugins/Sentry/link.xml

UnityEditor.AssetDatabase:Refresh ()
Sentry.Unity.Editor.SentryWindow:CopyLinkXmlToPlugins ()
Sentry.Unity.Editor.SentryWindow:OnEnable ()
UnityEditor.EditorWindow:GetWindow (System.Type)
Sentry.Unity.Editor.SentryWindow:OpenSentryWindow ()

@michaeleconomy
Copy link
Author

Sentry does appear to work.

@bitsandfoxes bitsandfoxes self-assigned this Jul 21, 2021
@bitsandfoxes bitsandfoxes added the Bug Something isn't working label Jul 21, 2021
@bitsandfoxes
Copy link
Contributor

Hey @michaeleconomy and thanks for bringing this up.
I can reproduce the Assembly Definition warnings and will take a look into them.
For the others: Are you by any chance using version 0.3.1 or older?

@michaeleconomy
Copy link
Author

michaeleconomy commented Jul 22, 2021 via email

@bruno-garcia
Copy link
Member

@michaeleconomy were you upgrading from a previous version of the SDK? Wondering if we had dropped the link.xml in your project earlier and the new SDK is trying to do this again

@michaeleconomy
Copy link
Author

michaeleconomy commented Jul 22, 2021 via email

@bruno-garcia
Copy link
Member

Again, just so we're clear: the errors have not resurfaced and just occurred the once.

Thanks for clarifying, at least doesn't seems a blocker. We'll keep this open in case someone else is affected and can help us repro.

@michaeleconomy
Copy link
Author

🎉🥳🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants