遇到的一个奇怪Bug 好像是该物体已经被Destory了 但该物体上脚本的某些操作 (update中)还在执行 我姑且在出问题的代码段上加入了一段限制条件,暂时没有问题了。。。`
if (this.gameObject != null&&target!=null)
{
}
即当确保物体还在是再执行
The object of type __ has been destroyed but you are still trying to access it
最新推荐文章于 2023-12-06 14:20:40 发布