之前是5.4版本,运行的时候可以调用即时生成,但是打包出来无法生成,我们暂时没有去查原因。
升级到5.6版本以后,运行的时候也无法即时生成了,甚至不需要打包测试。
目前只有提前生成好数据可以暂时用着,但是这样就和直接刷上去没任何区别了,所以想尝试解决一下。
后面log报错如下:
LogPCG: Error: PCG Landscape cache (on the PCG World Actor) is not set to be serialized and will not work in non-editor modes.
LogPCG: Error: PCG Landscape cache (on the PCG World Actor) is not set to be serialized and will not work in non-editor modes.
LogPCG: Error: [BP_PCGSetBase_C_1 - AttributeSelect_3 (Select [Content removed] encountered 0
[Image Removed]
已经按照AI建议改了方法,并且清除了缓存,但是还是一样。
这是调用蓝图和设置 [Image Removed]
[Image Removed]
[Image Removed]
[Attachment Removed]