editor
editor copied to clipboard
Anim inspector: animation assignment updates multiple layers with the same name
Description
When adding an animation into a state's asset input, all states in the graph with the same state name and layer name will have their asset inputs updated. This only affects the client side as the issue disappears upon reloading to the asset inspector.
https://user-images.githubusercontent.com/1721533/213253292-17d8a091-25c8-4b70-9164-c696e5180430.mov
Steps to Reproduce
- Create a state graph with two layers with the same name, each with a state that has the same name too.
- Add the state graph to an anim component and drag an animation into one of the two states asset input slots.
- Both slots will be updated with the provided animation asset.