Skip to content

Memory leak when resizing the Project Manager to minimum width #122257

Description

@NoNormalDev

Tested versions

  • Reproducible on v4.8.dev3.official [51105cc]
  • Not reproducible on v4.8.dev2.official [7220d45]

System information

Godot v4.7.1.stable - Windows 11 (build 26200) - Multi-window, 1 monitor - OpenGL 3 (Compatibility) - NVIDIA GeForce RTX 3050 Laptop GPU (NVIDIA; 32.0.15.9227) - AMD Ryzen 5 5600H with Radeon Graphics (12 threads) - 31.34 GiB memory - WASAPI (48000 Hz, Stereo/mono)

Issue description

After doing the "Steps to reproduce" these errors appear:

WARNING: 34 RIDs of type "CanvasItem" were leaked.
   at: _free_rids (servers/rendering/renderer_canvas_cull.cpp:2735)
ERROR: 1 RID allocations of type 'N5GLES37TextureE' were leaked at exit.
ERROR: Texture with GL ID of 39: leaked 1364 bytes.
   at: ~Utilities (drivers/gles3/storage/utilities.cpp:82)
ERROR: 34 RID allocations of type 'PN18TextServerAdvanced22ShapedTextDataAdvancedE' were leaked at exit.
ERROR: 1 RID allocations of type 'PN18TextServerAdvanced12FontAdvancedE' were leaked at exit.
WARNING: 94 ObjectDB instances were leaked at exit (run with `--verbose` for details).
   at: cleanup (core/object/object.cpp:2527)
--verbose

Leaked instance: DPITexture:9223372059705344677 - Reference count: 32
Leaked instance: FontFile:9223372059336246100 - Reference count: 32
Leaked instance: StyleBoxFlat:9223372061064299848 - Reference count: 32
Leaked instance: StyleBoxFlat:9223372061081077065 - Reference count: 32
Leaked instance: StyleBoxFlat:9223372061097854282 - Reference count: 32
Leaked instance: StyleBoxFlat:9223372061114631499 - Reference count: 32
Leaked instance: StyleBoxFlat:9223372061131408716 - Reference count: 32
Leaked instance: StyleBoxFlat:9223372062926570934 - Reference count: 192
Leaked instance: Image:9223372088662821759 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:241424149527 - Node path:
Leaked instance: Object:241440926744
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:241457703961 - Node path:
Leaked instance: Object:241474481178
Leaked instance: TextParagraph:9223372278346034203 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:241541590044 - Node path:
Leaked instance: Object:241558367261
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:241575144478 - Node path:
Leaked instance: Object:241591921695
Leaked instance: TextParagraph:9223372278463474720 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:241659030561 - Node path:
Leaked instance: Object:241675807778
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:241692584995 - Node path:
Leaked instance: Object:241709362212
Leaked instance: TextParagraph:9223372278580915237 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:241776471078 - Node path:
Leaked instance: Object:241793248295
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:241810025512 - Node path:
Leaked instance: Object:241826802729
Leaked instance: TextParagraph:9223372278698355754 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:241893911595 - Node path:
Leaked instance: Object:241910688812
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:241927466029 - Node path:
Leaked instance: Object:241944243246
Leaked instance: TextParagraph:9223372278815796271 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:242011352112 - Node path:
Leaked instance: Object:242028129329
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:242044906546 - Node path:
Leaked instance: Object:242061683763
Leaked instance: TextParagraph:9223372278933236788 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:242128792629 - Node path:
Leaked instance: Object:242145569846
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:242162347063 - Node path:
Leaked instance: Object:242179124280
Leaked instance: TextParagraph:9223372279050677305 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:242246233146 - Node path:
Leaked instance: Object:242263010363
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:242279787580 - Node path:
Leaked instance: Object:242296564797
Leaked instance: TextParagraph:9223372279168117822 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:242363673663 - Node path:
Leaked instance: Object:242380450880
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:242397228097 - Node path:
Leaked instance: Object:242414005314
Leaked instance: TextParagraph:9223372279285558339 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:242481114180 - Node path:
Leaked instance: Object:242497891397
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:242514668614 - Node path:
Leaked instance: Object:242531445831
Leaked instance: TextParagraph:9223372279402998856 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:242598554697 - Node path:
Leaked instance: Object:242615331914
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:242632109131 - Node path:
Leaked instance: Object:242648886348
Leaked instance: TextParagraph:9223372279520439373 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:242715995214 - Node path:
Leaked instance: Object:242732772431
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:242749549648 - Node path:
Leaked instance: Object:242766326865
Leaked instance: TextParagraph:9223372279637879890 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:242833435731 - Node path:
Leaked instance: Object:242850212948
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:242866990165 - Node path:
Leaked instance: Object:242883767382
Leaked instance: TextParagraph:9223372279755320407 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:242950876248 - Node path:
Leaked instance: Object:242967653465
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:242984430682 - Node path:
Leaked instance: Object:243001207899
Leaked instance: TextParagraph:9223372279872760924 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:243068316765 - Node path:
Leaked instance: Object:243085093982
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:243101871199 - Node path:
Leaked instance: Object:243118648416
Leaked instance: TextParagraph:9223372279990201441 - Reference count: 1
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: ColorRect:243185757282 - Node path:
Leaked instance: Object:243202534499
ERROR: Cannot get path of node as it is not in a scene tree.
   at: Node::get_path (scene\main\node.cpp:2460)
Leaked instance: Button:243219311716 - Node path:
Leaked instance: Object:243236088933
Leaked instance: TextParagraph:9223372280107641958 - Reference count: 1
Hint: Leaked instances typically happen when nodes are removed from the scene tree (with `remove_child()`) but not freed (with `free()` or `queue_free()`).

2026-08-10.11-17-31.mp4

Interesting thing is that dev3 allows the width to be much smaller.

Additional system info: Editor Scale 100%

Steps to reproduce

  1. Open the Project Manager
  2. Switch to Asset Store
  3. Ensure Online mode is ON Also happens with offline mode
  4. Resize the window horizontally to the minimum width

Minimal reproduction project (MRP)

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status
    Not Critical
    Status
    For team assessment

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions