focus-creative-games / hybridclr

HybridCLR是一个特性完整、零成本、高性能、低内存的Unity全平台原生c#热更新解决方案。 HybridCLR is a fully featured, zero-cost, high-performance, low-memory solution for Unity's all-platform native c# hotupdate.
https://code-philosophy.com/
MIT License
6.6k stars 670 forks source link

预制件加载后闪退 #146

Closed yingnierxiao closed 1 month ago

yingnierxiao commented 1 month ago

Describe the bug | 描述问题 A clear and concise description of what the bug is.

Enviroment | 环境

To Reproduce | 复制步骤

Please provide a reproduction project. Please try to reproduce this bug on the https://github.com/focus-creative-games/hybridclr_trial project. | 提供复现工程,请尽量在 https://github.com/focus-creative-games/hybridclr_trial 项目上复现这个bug。

Steps to reproduce the behavior : 暂时没有复现的工程

Expected behavior | 期望的结果 A clear and concise description of what you expected to happen.

Screenshots | 截图或者日志 image

Additional context | 补充信息 应该是加载完预制报错了,加载的预制使用的UniTask来实现,比较奇怪的debug模式下,没有问题,发布版本就出现闪退了,排查了代码应该是出现在预制加载后的时候,刚刚把UniTask修改为Task的实现,发现不会闪退了,暂时不知道是什么原因引起的

pirunxi commented 1 month ago

这个不是bug,去新手群交流吧