Skip to content

PortableCompressedTexture2D doesn't update in editor when changed #104966

Closed as duplicate of#30302
@beicause

Description

@beicause

Tested versions

4.5

System information

Godot v4.5.dev.mono - EndeavourOS SMP PREEMPT_DYNAMIC Sun, 23 Mar 2025 17:17:30 +0000 on Wayland - X11 display driver, Multi-window, 1 monitor - Vulkan (Mobile) - integrated AMD Radeon Graphics (RADV RENOIR) - AMD Ryzen 7 4800U with Radeon Graphics (16 threads)

Issue description

In editor when using a tool script to save different PortableCompressedTexture2Ds to the same path, the PortableCompressedTexture2D doesn't update both in inspector and 2d editor.

Steps to reproduce

In the MRP, there is a tool script attached to a Node2D. Try to re-save the PortableCompressedTexture2D by switching the Node2D's switch_save property, then the texture doesn't update. Only if you run the scene or restart the editor.

Minimal reproduction project (MRP)

test_pctex_resave.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions