godotengine / godotengine/godot

Godot wrongly detects presence of Animation Tracks when deleting multiple scenes

Open
#95,119 3 comments 0 reactions 1 assignee Claimed by @TokageItLab View on GitHub
bug discussion topic:animation topic:editor
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

v4.3.rc2.official [3978628c6]
(was also happening in 4.1 but didn't report it back then)

### System information

Mac Mini M1 with newest MacOS

### Issue description

Sometimes, when deleting multiple selected scenes that contain other scenes (but not Animation Tracks), Godot offers to delete related Animation Tracks even though there are none:
![image](https://github.com/user-attachments/assets/39e7c223-ccc9-4229-9932-48b1894c33bf)

I never answer "Yes" to these prompts because I can't know whether a random Animation Track somewhere in the project will really get deleted. Just as a test I made a copy of a project where I managed to trigger this false detection every time and answered "Yes" just to see what'll happen, but didn't notice anything unusual (the scenes that were selected were simply deleted), but who knows whether this is what always happens.

If I delete the same scenes one by one, no false warnings appear.

### Steps to reproduce

Select a few scenes of "certain complexity" (without any Animation Tracks) and hit delete. A warning will appear.

### Minimal reproduction project (MRP)

It looks like it's related to the complexity of the scene or the size of the project so I was not able to reproduce it isolated.

I assume it must be super simple to reproduce it but I didn't manage. If someone from the Godot team wants me to send a simple private project where this appears I'll be happy to do so, I have a case where this is 100 % reproducible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.