Skip to content

Crash reports on Windows player with Mono run time use Windows-style paths and cannot be associated with source code #1764

@wilg

Description

@wilg

Environment

How do you use Sentry?
Sentry SaaS (sentry.io)

Which version of the SDK?
sentry-unity 2.1.3

How did you install the package? (Git-URL, Assetstore)
Git

Which version of Unity?
6000.0.14f1

Is this happening in Unity (editor) or on a player like Android, iOS, Windows?
Player

Steps to Reproduce

Any crash.

Expected Result

Sentry shows my source code as configured through the Code Mapping in the Github Integratinon.

Actual Result

This is the full "Raw Stack Trace" that appears in Sentry.

Newest

System.ArgumentNullException: Value cannot be null.
Parameter name: value
  Module "StorytellerSaveManager", in CurrentSaveGame
  Module "StorytellerSaveManager", in SwitchScene
  Module "InteractableSceneTransition", in DidTrigger
  Module "InteractableTrigger", in CompleteTrigger
  Module "InteractableTrigger", in Trigger
  Module "InteractableManager", in InteractButtonPress
  Module "InteractableManager", in Interact1ButtonPress
  Module "ButtonHoldHandler", in OnPerformed
  Module "UnityEngine.InputSystem.Utilities.DelegateHelpers", in InvokeCallbacksSafe

Source files are not associated. I think this may be due to the Windows style paths, which other sentry SDKs may normalize? Not sure the expected approach here.

Image

I have a potentially related issue with my Mac players, but those do not show file and line numbers at all. #1763

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugsomething isn't working as it should
    No fields configured for issues without a type.

    Projects

    Status

    Done

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions