Paper2D Sprite Atlas Group issue in 5.3.2

I was previously using the Paper2D plugin in Unreal Engine 5.1 and had no issues utilizing Sprite Atlas Groups. However, after upgrading to Unreal Engine 5.3.2, whenever I create a new Sprite Atlas Group and add new sprites to it, I encounter a message followed by a crash of the editor.
The same issue persists even when I create a new project and repeat the process.

[2024.03.25-08.18.45:289][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_0 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast
[2024.03.25-08.18.45:315][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_1 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast
[2024.03.25-08.18.45:344][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_2 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast
[2024.03.25-08.18.45:369][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_3 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast
[2024.03.25-08.18.45:394][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_4 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast
[2024.03.25-08.18.45:420][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_5 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast
[2024.03.25-08.18.45:444][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_6 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast
[2024.03.25-08.18.45:469][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_7 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast
[2024.03.25-08.18.45:495][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_8 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast
[2024.03.25-08.18.45:521][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_9 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast
[2024.03.25-08.18.45:546][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_10 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast
[2024.03.25-08.18.45:572][ 7]LogTexture: Display: Building textures: /Game/UI/Resource/Atlas/NewPaperSpriteAtlas.NewPaperSpriteAtlas:Texture2D_11 (TFO_AutoDXT, 1024x1024 x1x1x1) (Required Memory Estimate: 124.145823 MB), EncodeSpeed: Fast

1 Like

I am experiencing the same issue. Have you found any solution? :pray:

I have updated the Unreal Engine to version 5.4.1, but the same issue still persists.

(I’m sorry to say this is not directly related to this, but…) In terms of paper2d related errors, let me share an error that occurred in our UE5.3.2 environment for your reference.

When making changes to a paper2d material instance (a material instance of my own creation) via parameters from a blueprint actor, an editor crash occurred.
As it turns out, I solved the problem by changing to UE 5.4.2.

The crash did not always occur, but worked fine for momentary and transient operations such as “change parameters when overlapping collision box”.
The problem occurred the moment we finished the test play in PIE.
If I closed PIE “while changing parameters of a material instance every frame using the timeline component,” the editor would crash without fail.
I checked the error messages and found that it was happening around paper2d and the bit judgement source code.

I gave up and ran the same paper2d actor and material in UE 5.4.2, and the crash went away like a lie.

If this problem is also caused by the proximity source code, it might be solved by upgrading the UE version.

I hope this is of some help to you.

Translated with DeepL Translate: The world's most accurate translator (free version)

That’s a pain to hear. I’m currently on 5.3 and my editor just freezes if I attempt to add a sprite to an atlas group, I was hoping this might have been resolved in 5.4.

I was hoping to use this feature as it would mean not having to use an external tool to pack my sprite textures.

Even in v5.4.2, there is an issue where a line hangs when specifying a sprite group. So I solved it by modifying the PaperSprite.cpp(567 v.5.3.2 standard) code.

/// Before
/// if (PropertyChangedEvent.ChangeType != EPropertyChangeType::Interactive)
/// After
if (PropertyChangedEvent.ChangeType != EPropertyChangeType::Interactive &&
PropertyChangedEvent.ChangeType != EPropertyChangeType::Unspecified)

1 Like

I’m currently using Unreal Engine 5.3, and my editor freezes whenever I try to add a sprite to an atlas group. I was hoping this issue might be resolved in 5.5, but it seems it’s still not fixed. Has anyone found a solution? I’d really appreciate the help!

(post deleted by author)