https://udn.unrealengine.com/questions/570767/filtering-bug-with-iseditoronlyactor.html
On a a blueprint that inherits from an actor class such as FunctionalActor, the user can mark Actor::bIsEditorOnlyActor = true ("Cooking/Is Editor Only Actor").
That variable gets set on the Class Default Object for the BlueprintGeneratedClass.
This causes a warning in cooking per the licensee's discovery:
SavePackage.cpp ConditionallyExcludeObjectForTarget
The BlueprintGeneratedClass is not marked editor-only because classes are not editor-only.
The Actor-Subclass CDO is not marked editor-only because it is a CDO. There is a comment about "CDOs should be included whenever their class is included, but classes are always included, so this means CDOs are always included.
All components that have the Actor-Subclass CDO as their outer are therefore also not editor-only.
Savepackage.cpp IncludeObjectAsDependency
The Actor-Subclass is marked as editoronly because it has the variable set, and IncludeObjectAsDependency as not making an exception for CDOs as ConditionallyExcludeObjectForTarget does.
This causes a warning during cooking of the package:
[2020.04.20-16.47.13:994][ 0]LogSavePackage: Warning: A dependency 'MrpTest_C /Game/Effects/ParticleSystems/MrpTest.Default_MrpTest_C' of 'BillboardComponent /Game/Effects/ParticleSystems/MrpTest.Default_MrpTest_C:Sprite' was filtered, but is mandatory. This indicates a problem with editor only stripping. We will keep the dependency anyway (4).
Create a Blueprint Class based on the FunctionalTest class.
Set "Cooking/Is Editor Only Actor" to true in the Blueprint's property editor.
Cook for a non-editor target such as WindowsNoEditor.
LS-0019-IS-PQR23 on the start of running UE4
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Delay nodes occasionally don't fire the "Completed" output in a nativized build
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?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-92226 in the post.
3 |
Component | UE - Gameplay - Blueprint |
---|---|
Affects Versions | 4.21 |
Target Fix | 5.1 |
Created | Apr 20, 2020 |
---|---|
Resolved | Jun 16, 2022 |
Updated | Jun 20, 2022 |