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.
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 |