关于UE4自动垃圾回收还在使用资源的GC问题

创建的资源还在使用,但是却被垃圾回收了,收集了一下出现的问题如下:
1、 Cannot queue the expression cache when it is about to be deleted
2 、LogSlate: Warning: Attempted to access resource for None which is pending kill, unreachable or pending destroy
3、Cannot queue the Expression Cache for Material /Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial when it is about to be deleted

首先这里我通过网上查得到一个解答,但是没解决我的问题;UE4 | 异常 | UPROPERTY()相关但是也算是一个解决方案,我去加上了UPROPERTY()宏,还是被回收了;
第二个资料,是虚幻论坛里的,也出现的这个问题,不过是slate里面的Cannot Queue Expression Cache - Garbage Collection,这个帖子已经贴出来很久了,还没人解答。

posted @ 2022-06-04 08:53  hellogiao1  阅读(372)  评论(0)    收藏  举报