Search Issue Tracker

Won't Fix

Votes

0

Found in

2022.3.8f1

2023.1.10f1

2023.2.0b6

2023.3.0a3

Issue ID

UUM-47952

Regression

No

animatorStateMachine.AddState() creates an invalid/corrupted State when cloning a State by name and position then adding other properties

--

-

Reproduction steps:
1. Open the attached project "52393 3.zip"
2. Open the Animator window
3. Open the "AnimTest" scene
4. Select "GameObject" in the Hierarchy
5. Click "Code Sample A" and "Code Sample B" buttons in the Inspector
6. Move the "New State" States so the created states are visible
7. Save the project
8. Close and reopen the project

Expected result: both created States are still in the Animator window
Actual result: the State created by "Code Sample B" button is missing

Reproducible with: 2022.3.8f1, 2023.1.10f1, 2023.2.0b6, 2023.3.0a3
Could not test with: 2021.3.30f1 (script is not loaded)

Reproducible on: macOS 13.4.1 (Intel)
Not reproducible on: No other environment tested

Note: If the broken state has a transition, after reopening the project Animator window won't load and "ArgumentNullException: Value cannot be null. Parameter name: key" errors will be spammed in the Console

  1. Resolution Note:

    Thank you for bringing this issue to our attention. Unfortunately, after careful consideration we will not be addressing your issue at this time, as we are currently committed to resolving other higher-priority issues, as well as delivering the new animation system. Our priority levels are determined by factors such as the severity and frequency of an issue and the number of users affected by it. However we know each case is different, so please continue to log any issues you find, as well as provide any general feedback on our roadmap page to help us prioritize.
    Forum announcement: https://forum.unity.com/threads/animation-status-update-q2-2023.1445425/
    Roadmap: https://unity.com/roadmap/unity-platform/3d-characters-and-animation

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.