The cooker settings include the ClassesExcludedOnDedicatedServer/ClassesExcludedOnDedicatedClient lists, which specify classes that should be excluded when cooking a dedicated server/client. These lists are checked in UObject::NeedsLoadForServer/NeedsLoadForClient, and UWorld::SpawnActor will use these functions (via UObject::CanCreateInCurrentContext) to check if the actor can be spawned.
However, there doesn't seem to be any such check for components/subobjects (with the exception of components on blueprint actors), causing these classes to be spawned on the dedicated server/client.
Create an actor component, and either add its class to the "ClassesExcludedOnDedicatedServer" list or override UObject::NeedsLoadForServer to return false.
Create this component as a default subobject of an actor that exists on the server and client.
Package the project as a dedicated server.
Expected: the actor will still exist on the server, but it will not have its excluded component.
Actual: The excluded component will still be spawned on the server.
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
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
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
How to achieve HLSL Multiple Render Target in Material blueprints?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-193927 in the post.
5 |
Component | UE - Gameplay |
---|---|
Affects Versions | 5.4 |
Created | Aug 25, 2023 |
---|---|
Updated | Feb 13, 2024 |
10933 - ChetRippo |