godot icon indicating copy to clipboard operation
godot copied to clipboard

Unable to delete group in godot version 4

Open qwenough opened this issue 1 year ago • 4 comments

Godot version

v4.0.beta7.official [0bb1e89fb]

System information

Windows10

Issue description

image There is no delete group button image There is a remove group button in the group manager, but clicking on it has no effect, as well as trying to remove a player from this group

Steps to reproduce

I accessed the group through the code, but then deleted this call and saved the file, but I still can’t delete the group

Minimal reproduction project

Survivors Clone.zip

qwenough avatar Dec 06 '22 10:12 qwenough

When you add a group within player.tscn. And then instance it in world.tscn, you can not remove the group from that instance. This is a feature, not a bug.

Open you player.tscn, and remove the group there.

TheDuriel avatar Dec 06 '22 14:12 TheDuriel

Hmm, could the groups added in the scene/instance itself be colored differently/have an icon of some kind to prevent such misunderstandings?

(I admit I've mixed and matched adding on the scene itself and on instances...)

Zireael07 avatar Dec 06 '22 14:12 Zireael07

Greying them out should do the trick, consistent with inherited Nodes in the tree. (And hiding the button.)

My memory is trying to claim this is already the case in 3.x, but it's probably wrong.

Proposal worthy for sure.

TheDuriel avatar Dec 06 '22 14:12 TheDuriel

Made a proposal: https://github.com/godotengine/godot-proposals/discussions/5904

Zireael07 avatar Dec 06 '22 16:12 Zireael07

you have to open the scene of player and delete the group from there

Alaa19971234 avatar Apr 07 '23 16:04 Alaa19971234