The UPaperSprite::BakedSourceTexture will be nullptr in a packaged game if the sprite is not referenced by the UGameInstance. The attached sample project demonstrates this scenario.
Expected
The log contains "SecondTextureReferenceSprite Success!"
Actual
The log contains "SecondTextureReferenceSprite Fail!" because the BakedSourceTexture member of the 2nd test sprite is nullptr when running the packaged game, but is not in PIE.
I am not able to find world outliner how to enable it?
How to achieve HLSL Multiple Render Target in Material blueprints?
How does TextureRenderTarget2D get TArray<uint8> type data?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
What method is used to fill polygonal regions when drawing spline mesh at run time?
Teleporter in the Creative Hub is Locked and cannot be accessed
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-230649 in the post.
0 |
Component | UE - Gameplay - Paper2D |
---|---|
Affects Versions | 5.4, 5.5 |
Target Fix | 5.6 |
Created | Nov 15, 2024 |
---|---|
Updated | Nov 19, 2024 |