Skip to content

Application crash on startup with Sentry enabled and firewall blocking connections #2341

@goldfire

Description

@goldfire

Environment

Using sentry-unity 3.2.3 with Unity 2023.3.57. Installed via Git-URL. It only happens in a build on Windows.

Steps to Reproduce

  1. Install sentry-unity 3.2.3.
  2. Install ZoneAlarm trial.
  3. In ZoneAlarm, enable both the firewall and application control.
  4. Select the "Application Permissions" option under application control, scroll to your application, change it's status to "block connections".
  5. Create a build of your game with Sentry enabled.
  6. Launch the game and it will crash before anything shows on screen.
  7. Disable firewall/application control and see that the application now launches correctly.

Expected Result

The application should run normally and just fail to deliver errors to Sentry without crashing.

Actual Result

The application crashes immediately upon trying to launch the application. Note that using the firewall in Windows Defender does not cause a crash.

Any logs or screenshots

There's virtually nothing in the logs, including no errors, as it crashes the application before anything initializes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't workingUnity

    Projects

    Status

    No status

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions