godotengine / godotengine/godot
Possible Editor Bug?
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
4.5.1 Stable version
### System information
Linux fedora 6.14.0-63.fc42.x86_64
### Issue description
the following error are shown when closing editor without closing tabs of players and other scenes.
But they were not shown when all tabs are closed before shutting down the editor.
Are the error related to the Editor or my game's code?
```
EditorSettings: Save OK!
XR: Clearing primary interface
XR: Removed interface "Native mobile"
XR: Removed interface "OpenXR"
PulseAudio: context terminated
ERROR: 2 RID allocations of type 'N5GLES37TextureE' were leaked at exit.
ERROR: Texture with GL ID of 593: leaked 111676 bytes.
at: ~Utilities (drivers/gles3/storage/utilities.cpp:77)
ERROR: Texture with GL ID of 596: leaked 117876 bytes.
at: ~Utilities (drivers/gles3/storage/utilities.cpp:77)
WARNING: ObjectDB instances leaked at exit (run with --verbose for details).
at: cleanup (core/object/object.cpp:2514)
Leaked instance: CompressedTexture2D:9223374588132546999 - Resource path: res://assets/hopping/player/back/walk/1.png
Leaked instance: CompressedTexture2D:9223374589424392655 - Resource path: res://assets/hopping/player/down/idle/2.png
Hint: Leaked instances typically happen when nodes are removed from the scene tree (with `remove_child()`) but not freed (with `free()` or `queue_free()`).
ERROR: 2 resources still in use at exit.
at: clear (core/io/resource.cpp:790)
Resource still in use: res://assets/hopping/player/back/walk/1.png (CompressedTexture2D)
Resource still in use: res://assets/hopping/player/down/idle/2.png (CompressedTexture2D)
Orphan StringName: CollectionContainer (static: 0, total: 6)
Orphan StringName: speed_scale (static: 0, total: 6)
Orphan StringName: WinMessage (static: 0, total: 2)
Orphan StringName: ../ChallengeLevelUp/PanelContainer (static: 0, total: 1)
Orphan StringName: LifeContainer (static: 0, total: 8)
Orphan StringName: Wheel (static: 0, total: 1)
Orphan StringName: SingleLitRow (static: 0, total: 2)
Orphan StringName: ChallengeLevelUp (static: 0, total: 2)
Orphan StringName: World (static: 0, total: 1)
Orphan StringName: Label (static: 16, total: 17)
Orphan StringName: QmarkContainer (static: 0, total: 9)
Orphan StringName: CollectionContainer/RightCollection (static: 0, total: 3)
Orphan StringName: MarginContainer/VBoxContainer/Wheel (static: 0, total: 1)
Orphan StringName: GameWon (static: 0, total: 3)
Orphan StringName: ../../RiskRewardContainer/VBoxContainer/MarginContainer (static: 0, total: 1)
Orphan StringName: ../../QmarkContainer (static: 0, total: 1)
Orphan StringName: key-cover1 (static: 0, total: 2)
Orphan StringName: key-cover2 (static: 0, total: 2)
Orphan StringName: key-cover3 (static: 0, total: 2)
Orphan StringName: key-cover4 (static: 0, total: 2)
Orphan StringName: key-cover5 (static: 0, total: 2)
Orphan StringName: RiskRewardContainer (static: 0, total: 4)
Orphan StringName: Motorcycle2 (static: 0, total: 6)
Orphan StringName: RightCollection (static: 0, total: 3)
Orphan StringName: ../../QmarkContainer/Jump (static: 0, total: 2)
Orphan StringName: modulate (static: 0, total: 45)
Orphan StringName: ../World/Player (static: 0, total: 1)
Orphan StringName: ../../PlatformLayer/Clock/ClockAlertContainer (static: 0, total: 3)
Orphan StringName: texture (static: 0, total: 6)
Orphan StringName: ColorRect (static: 1, total: 3)
Orphan StringName: ../../QmarkContainer/DoubleLitRow (static: 0, total: 2)
Orphan StringName: ../MissionFailed/PanelContainer (static: 0, total: 1)
Orphan StringName: ZeroLife (static: 0, total: 4)
Orphan StringName: LabelContainer (static: 0, total: 1)
Orphan StringName: Player (static: 0, total: 7)
Orphan StringName: emitting (static: 0, total: 12)
Orphan StringName: ../../QmarkContainer/NoJump (static: 0, total: 2)
Orphan StringName: CenterContainer (static: 1, total: 5)
Orphan StringName: MagicParticals/CPUParticles2D (static: 0, total: 2)
Orphan StringName: Sprite2D (static: 2, total: 12)
Orphan StringName: PlatformLayer (static: 0, total: 4)
Orphan StringName: VBoxContainer (static: 1, total: 7)
Orphan StringName: Challenge (static: 0, total: 5)
Orphan StringName: MagicParticals (static: 0, total: 4)
Orphan StringName: Effect (static: 0, total: 8)
Orphan StringName: text (static: 0, total: 3)
Orphan StringName: ../.. (static: 0, total: 1)
Orphan StringName: .. (static: 1, total: 57)
Orphan StringName: ../Challenge/NewChallengePanel (static: 0, total: 3)
Orphan StringName: QmarkSpinContainer (static: 0, total: 5)
Orphan StringName: NewChallengePanel (static: 0, total: 4)
Orphan StringName: key1 (static: 0, total: 2)
Orphan StringName: key2 (static: 0, total: 2)
Orphan StringName: key3 (static: 0, total: 2)
Orphan StringName: key4 (static: 0, total: 2)
Orphan StringName: key5 (static: 0, total: 2)
Orphan StringName: position (static: 0, total: 66)
Orphan StringName: PlayerOutdoor (static: 0, total: 4)
Orphan StringName: ../ChallengeLevelUp (static: 0, total: 1)
Orphan StringName: ../../RiskRewardContainer/VBoxContainer (static: 0, total: 1)
Orphan StringName: Clock (static: 0, total: 3)
Orphan StringName: Life (static: 0, total: 6)
Orphan StringName: ../Player (static: 0, total: 2)
Orphan StringName: visible (static: 0, total: 138)
Orphan StringName: ../Challenge (static: 0, total: 1)
Orphan StringName: PanelContainer (static: 1, total: 5)
Orphan StringName: LoadingContainer (static: 0, total: 2)
Orphan StringName: NoJump (static: 0, total: 2)
Orphan StringName: CollectionContainer/WrongCollection (static: 0, total: 3)
Orphan StringName: ../PlatformLayer (static: 0, total: 1)
Orphan StringName: ../Effect (static: 0, total: 1)
Orphan StringName: ClockAlertContainer (static: 0, total: 3)
Orphan StringName: Jump (static: 0, total: 2)
Orphan StringName: WrongCollection (static: 0, total: 3)
Orphan StringName: one_shot (static: 0, total: 3)
Orphan StringName: DoubleLitRow (static: 0, total: 2)
Orphan StringName: VBoxContainer/LoadingContainer/Label (static: 0, total: 1)
Orphan StringName: MissionFailed (static: 0, total: 2)
Orphan StringName: MarginContainer (static: 1, total: 5)
Orphan StringName: . (static: 1, total: 21)
Orphan StringName: Node (static: 9, total: 10)
Orphan StringName: z_index (static: 0, total: 3)
Orphan StringName: Portal/Sprite2D (static: 0, total: 2)
Orphan StringName: CPUParticles2D (static: 1, total: 5)
Orphan StringName: ../../QmarkContainer/SingleLitRow (static: 0, total: 2)
Orphan StringName: ../../RiskRewardContainer/VBoxContainer/LabelContainer (static: 0, total: 1)
Orphan StringName: SpellParticals (static: 0, total: 1)
Orphan StringName: Effect/LifeContainer/Life (static: 0, total: 3)
Orphan StringName: Portal (static: 0, total: 4)
Orphan StringName: LifeContainer/Life (static: 0, total: 3)
Orphan StringName: ../../Challenge/NewChallengePanel (static: 0, total: 1)
Orphan StringName: ../GameWon (static: 0, total: 1)
Orphan StringName: ../../RiskRewardContainer (static: 0, total: 1)
Orphan StringName: Effect/MagicParticals/CPUParticles2D (static: 0, total: 2)
Orphan StringName: AnimatedSprite2D (static: 1, total: 7)
Orphan StringName: size (static: 0, total: 6)
Orphan StringName: QmarkSpinContainer/SpellParticals (static: 0, total: 1)
Orphan StringName: Motorcycle (static: 0, total: 4)
Orphan StringName: ../MissionFailed (static: 0, total: 1)
Orphan StringName: ../GameWon/PanelContainer (static: 0, total: 2)
Orphan StringName: scale (static: 0, total: 3)
Orphan StringName: AnimationPlayer (static: 1, total: 5)
Orphan StringName: VBoxContainer/LoadingContainer (static: 0, total: 1)
StringName: 103 unclaimed string names at exit
```
### Steps to reproduce
open scenes in editor and close the editor without closing scenes first.
### Minimal reproduction project (MRP)
nil
Contributor guide
Assessment
This issue has not been assessed yet.