
Unity 所遇问题汇总
用来记录 Unity 遇到的问题
仁希'
慢慢往前走
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
System.ExecutionEngineException: Method body is null.
把定义 extern 函数以及使用的部分抽出来放到 AOT 中类中。使用了 HybridCLR 热更新,在热更新代码中定义 extern 函数。原创 2025-03-21 16:58:30 · 548 阅读 · 0 评论 -
A scripted object (probably XXX?) has a different serialization layout when loading
项目中使用了HybridCLR,脚本被打入了热更新的程序集中。脚本挂载在场景中,场景打在主包的资源中。原创 2025-03-21 15:44:30 · 672 阅读 · 0 评论 -
The referenced script (Unknown) on this Behaviour is missing!
第4点中Unity 2022 如图。原创 2024-12-09 18:03:02 · 812 阅读 · 0 评论 -
UnityException: Instantiate failed because the clone was destroyed during creation.
【代码】UnityException: Instantiate failed because the clone was destroyed during creation.原创 2024-12-09 17:53:04 · 293 阅读 · 0 评论 -
报错:ListenerException: Attempting to add listener with inconsistentsignature for event type XXX
多处添加监听,并且传递 MsgCallback 类型不一致。原创 2024-08-06 17:37:35 · 199 阅读 · 0 评论 -
Cannot perform upm operation: connect ETIMEDOUT 34.36.199.114:443 [NotFound]
问题:打开 Package Manager,加载报错。版本:Unity 2018 Windows。原创 2024-07-22 15:18:30 · 822 阅读 · 0 评论