Description

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.

Steps to Reproduce
  1. Download the provided sample project
  2. Run the game in PIE and verify the log contains the message 'SecondTextureReferenceSprite Success!'
  3. Package the game and run the packaged game

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.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-230649 in the post.

0
Login to Vote

Unresolved
ComponentUE - Gameplay - Paper2D
Affects Versions5.45.5
Target Fix5.6
CreatedNov 15, 2024
UpdatedNov 19, 2024
View Jira Issue