godotengine / godotengine/godot
Make Unique (recursive) fails due to Condition "states.has(p_name)" is true
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
Reproducable in: 4.2.1.mono and 4.3.dev2.mono
### System information
Godot v4.3.dev2.mono - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (NVIDIA; 31.0.15.3742) - 13th Gen Intel(R) Core(TM) i9-13900K (32 Threads)
### Issue description
Make Unique (recursive) on an AnimationRootNode fails on every subresource with Condition "states.has(p_name)" is true.
### Steps to reproduce
Create an AnimationTree with any root node.
Add any amount of AnimationRootNode to it.
Right Click the Tree Root in the Editor and click Make Unique (recursive).

### Minimal reproduction project (MRP)
[Test.zip](https://github.com/godotengine/godot/files/14105997/Test.zip)
Contributor guide
Research direction
Start with the AnimationTree editor's Tree Root and the Make Unique (recursive) action, using the attached Test.zip reproduction project to reproduce the failure on AnimationRootNode subresources. Done means the recursive operation completes without the "states.has(p_name)" condition error and makes the affected subresources unique.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100