stride icon indicating copy to clipboard operation
stride copied to clipboard

Sprite Sheet Asset Doesn’t Update After Modifying Source PNG

Open dawnmichal opened this issue 2 months ago • 2 comments

Release Type: Official Release

Version: 4.3.0.2507

Platform(s): Windows

Describe the bug I’m having a problem with updating a Sprite Sheet when I change the source texture (image). First, I draw the image in PNG format. Then I create a Sprite Sheet asset that contains the individual sprites. When I build and run the game, everything displays and works correctly.

However, once I modify the source PNG image, the editor still shows an outdated thumbnail for the Sprite Sheet asset, and if I build and run the game again, the change isn’t reflected there either — the game still shows the original image. The only place where the updated image appears correctly is when I open the Sprite Sheet asset directly in Game Studio Editor, the editor shows the new image properly.

Sprite parameter change, deleting the obj folders or using Clean Solution in Visual Studio helps.

Expected behavior The expected behavior would be automatic updating of the Sprite Sheet asset whenever its source files change.

dawnmichal avatar Dec 08 '25 10:12 dawnmichal

Isn't it because the image is cached? What if you delete /bin /obj folders?

VaclavElias avatar Dec 08 '25 10:12 VaclavElias

Yes, as I mentioned in my initial post… deleting the obj folders, performing a Clean Solution in Visual Studio, or making any change to a single sprite in the sprite sheet all help. Any of these three actions trigger regeneration and the new image is then displayed correctly.

dawnmichal avatar Dec 08 '25 10:12 dawnmichal