The object of type 'Object' has been destroyed but you are still trying
对象被销毁依然尝试访问。
但是物体和脚本都在,排查了很久发现是因为自己在跳转场景时没有注销事件,在OnDestroy中注销改事件之后就正常工作了。
The object of type 'Object' has been destroyed but you are still trying
对象被销毁依然尝试访问。
但是物体和脚本都在,排查了很久发现是因为自己在跳转场景时没有注销事件,在OnDestroy中注销改事件之后就正常工作了。