Application crash on startup with Sentry enabled and firewall blocking connections

未关闭
#2,341 12 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
csharp, unity
领域
game-dev

调研方向

首先,在连接被 ZoneAlarm 阻止的情况下,使用 sentry-unity 3.2.3 和 Unity 2023.3.57 重现 Windows 构建,然后检查 SDK 的启动初始化路径和可用的崩溃输出。当应用程序能够在防火墙阻止连接的条件下启动,并且 Sentry 传送失败不会终止游戏时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

Bug Errors Unity
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.

主要语言
C#
星标
295
派生
63
平均合并
3 天 17 小时
30 天内合并 PR
26

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

getsentry/sentry-unity 的其他 Issue

查看 getsentry/sentry-unity 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。