如何在Unity 2021中启用完整的堆栈跟踪

huangapple go评论80阅读模式
英文:

How to enable Full StackTraces in Unity 2021

问题

今天我收到了消息:“未处理本地集合,导致内存泄漏。启用完整堆栈跟踪...” 如何在Unity 2021.3.18f中启用它?

我知道它应该从“Jobs”菜单中启用,但完整堆栈跟踪选项不可用。我需要从包管理器中安装一些软件包,但它也不可用。

任何建议/线索将不胜感激。

英文:

Today I got the message "A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces..." How can I enable it in Unity 2021.3.18f?

All I know it should be enabled from "Jobs" menu, but full stack traces option is missing. I need to install some package from package manager which is also not available.

Any advise/clue will be highly appreciated.

答案1

得分: 1

"Jobs" 菜单在所有 Unity 版本中都可用,除了 2021.. 版本。

要安装 "Jobs",请通过包管理器加载以下包 "com.unity.jobs",通过 "按名称添加包" 的方式。

英文:

After some research it came out that "Jobs" menu is available in all Unity versions except 2021...

To install "Jobs", load following package "com.unity.jobs" from package manager via "Add package by name"

huangapple
  • 本文由 发表于 2023年2月8日 16:54:10
  • 转载请务必保留本文链接:https://go.coder-hub.com/75383303.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定