Description

Outputs a warning log for loading source texture when Papaer2D is loaded in Editor. 

This may be due to a conflict post load of Paper2D and load source texture. 

The warning log is output only in editor, but not by the package build. 

Steps to Reproduce
  1. Create new persistent levels, sublevels, widgets and textures
  2. Place the CreateWidget node on the sublevel BP and set the widget.
  3. Right-click on the texture and select "Sprite Actions->Apply Paper2D Texture Settings".
  4. Right-click on the texture and select "Sprite Actions->Extract Sprite".
  5. Add Image in widget and set sprite asset to Image.
  6. Restart the editor.
  7. Open the persistent level.

Result:

 Output warning log.

LogUObjectGlobals: Warning: Calling StaticLoadObject("Class /Script/CoreUObject.Object", "None", "/Game/Assets/Texture.Texture") during PostLoad of PaperSprite /Game/Assets/Texture_Sprite_0.Texture_Sprite_0 may result in hitches during streaming.

Expected:

 Not output warning log.

 

When you open the attached repro project with editor, can see a warning log on loading the persistent level. 

Have Comments or More Details?

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

16
Login to Vote

Won't Fix
ComponentUE - Gameplay - Paper2D
Affects Versions4.25
CreatedJul 30, 2020
ResolvedJul 19, 2022
UpdatedJul 19, 2022