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).
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How do I set a material as a post-processing material?
How to delete some elements correctly when deleting an array loop?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
What is the difference between Camera and CineCamera?
What controls of umg have mouse wheel events in UE4.27?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
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 |