in PIE, RerunConstructionScript() is executed and actor's CachedMaxDrawDistance is updated as expected.
in packaged game, RerunConstructionScript() is not executed
so, CullDistanceVolume is not updated and actor's CachedMaxDrawDistance will be 0.
licensee temporarily work around the problem by manually calling SetCullDistance() and 1.53ms improved.
(see attached screenshot for performance comparison. ).
Refer to attached sample project and video capture for repro
1. in WorldSetting, set WorldComposition to true,
2. place StaticMeshes in the sublevel and save it.
3. place CullDistanceVolume in PersistanceLevel and change Cull Distance value.
4. play game in Editor and it will be working as expected
5. package project for windows
6. play packaged project
Test result : static mesh's Cull Distance value is not updated in packaged game
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
Why does the system plugin 'UnrealBuildTool' error could not be found when the project is compiled?
How to achieve HLSL Multiple Render Target in Material blueprints?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
What property of the Slider is the image used when dragging?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-173059 in the post.
0 |
Component | UE - World Creation - Worldbuilding Tools - World Composition |
---|---|
Affects Versions | 4.27, 5.0, 5.1 |
Target Fix | 5.6 |
Created | Dec 16, 2022 |
---|---|
Updated | Oct 11, 2024 |