Since UE5.5, RegisterComponent has been called during cook process, So unnecessarily references from DMXLibrary to DMXComponent has been added.
There is a workaround to avoid adding references :
UCLASS(BlueprintType, Blueprintable, meta = (DisplayName = "DMX Fixture Patch")) class DMXRUNTIME_API UDMXEntityFixturePatch : public UDMXEntity , public FTickableGameObject { ... /** Broadcasts when the patch received dmx */ UPROPERTY(BlueprintAssignable, Category = "DMX", Transient); //WORKAROUND: add Transient flag FDMXOnFixturePatchReceivedDMXDelegate OnFixturePatchReceivedDMX;
*Repro project is available in the UDN case
Cook fails with the error:
LogWindows: Error: Can't save 'F:/Unreal Projects/WPDMX/Saved/Cooked/Windows/WPDMX/Content/NewDMXLibrary.uasset': Illegal reference to private object: 'DMXComponent /Game/NewMap/_Generated_/594WFNBE39IEZ4SRDHUFDQJSM.NewMap:PersistentLevel.BP_LaserModule_C_UAID_00D861336436DB4802_2031186074.DMX' referenced by 'BP_LaserModule_C_UAID_00D861336436DB4802_2031186074' (at '/Game/NewMap/_Generated_/594WFNBE39IEZ4SRDHUFDQJSM.NewMap:PersistentLevel') in its 'BlueprintCreatedComponents' property (private object belongs to an external map).
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-247093 in the post.
0 |
Component | UE - Virtual Production - IO - DMX |
---|---|
Affects Versions | 5.5 |
Target Fix | 5.6 |
Created | Feb 10, 2025 |
---|---|
Updated | Feb 10, 2025 |