SubWorldPartition的使用方式请教

关注到​SubWorldPartition目前的进展

[Image Removed]

想要请教下在5.7版本SubWorldPartition的使用方式是什么呢?

1.是创建一个WP的Level,然后以LevelInstanceActor的方式放到主WP的场景中,同时设置成Standalone模式;

Runtime的时候对应LevelInstanceActor加载了就会开启另一个SubWorldPartitionWP的流送吗?

2.观察到ue-main分支的代码中还有一个StandaloneHLODSubsystem/AWorldPartitionStandaloneHLOD的实现,看起来似乎也想做类似的事情;

但是还是Experimental的状态(UEditorExperimentalSettings->bEnableStandaloneHLOD),并且StandaloneHLODSubsystem大部分函数都是Editoronly的实现,这部分后续的迭代计划是什么呢?

3.​想要引入SubWorldPartition的原因是希望可以通过脚本控制,缩短部分区域的加载距离,仅加载并显示其HLOD,不加载内部物体;且区域的划分要便于LA/策划编辑。方式1可以达到这个目的吗?

[Attachment Removed]

1、是的。开启LI地图WP,Streaming,Standalone方式放入主WP地图。这个视频供参考。

2、StandaloneHLODSubsystem分后续的迭代计划个人不了解,交给其他同事问下

3、可以;但5.7中的仅加载HLOD的功能是否工作我还未做过测试,个人猜测设置没差,只是LI的加卸载逻辑改进

[Attachment Removed]

你好,我稍微补充一下我所了解到StandaloneHLOD相关信息:

引擎在5.6中加入了通过StandaloneHLOD方式生成Sub WP HLOD的功能,可以参考WorldBuilding文档中 HLODs - Important changes in 5.6一节,同时StandaloneHLOD兼容了Editor, PIE & cooked builds,FastGeo plugin,Data Layers,Nested SubWPs等功能。

但目前还存在一些局限,主要包括:

1. Multiple instances of the same level used as SubWP are not supported

2. External Data Layers are not supported

3. Distributed Builds are supported but they require the Standalone HLOD levels to be available in P4, so at least one non-distributed HLOD Setup run is required before distributed builds can be executed

后面一方面会优化用户在Editor下生成Sub WP HLOD的交互体验,一方面也会考虑针对目前的局限进一步改进。

[Attachment Removed]

感谢文磊老师的回复~ 3这部分我们再观察下

[Attachment Removed]

感谢回复~

请问下StandaloneHLOD的设计目的是为了让LI和HLOD解耦,从而可以放到不同Grid上吗?这样的话LI不加载,对应的SubWP的Tick开销可以省掉吗。。

[Attachment Removed]

StandaloneHLOD的目的是为了streaming source在远距离时,此时LevelInstance还没有加载进来而用StandaloneHLOD的形式表示从而能被远远看到,此时SubWP没有加载,里面的actor和comp也是不会被加载出来,自然也是不会 Tick的

[Attachment Removed]

明白。

我本地搭建了一个简单的测试场景,但发现Standalonehlod并没有显示,可以帮忙确认下设置吗?

[Attachment Removed]

你好,zip似乎设置了密码,我本地打不开

[Attachment Removed]