unity 报警告[Worker16] Internal: There are remaining Allocations on the JobTempAllo

1,277 阅读1分钟

一、报错信息

[Worker16] Internal: There are remaining Allocations on the JobTempAlloc. This is a leak, and will impact performance

二、解决方案

  1. 打开项目设置 Edit -> Project Settings image.png

  2. Memory Settings -> Fast Thread...

image.png

  1. 点击锁头解锁后,在后面的文本框输入比2大的数,如我输入的 5 就没有警告了。

注: 不需要再次点击锁头了,如果再次点击锁头会自动变回2

分享结束