Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2019.4.X, 2020.1.X

Votes

3

Found in

2019.3.15f1

2020.2.0a11

Issue ID

1251586

Regression

Yes

Inspector not displaying state and transition properties once duplicated

Animation

-

The Inspector is not displaying the state and transition properties once it is copy/pasted or duplicated.

repro:
- open attached project or...
- create 2 Animator States with a Transition
- drag-select both states and the transition...
- Ctrl or Cmd "D" to duplicate
- inspect new states and transition...
bug: no properties are displayed in the Inspector.
see attached gif
note that original states/transition still display properties as expected, but not new properties.

This is a regression.
Repro in…
Version: 2020.2.0a11.1312.3
Revision: 2020.2/release d00a9d9791a8
Built: Tue, 12 May 2020 13:50:38 GMT

Not repro in…
Version: 2020.2.0a10.1205
Revision: trunk 11fb376d50c9
Built: Fri, 24 Apr 2020 16:37:03 GMT

Workaround:
Open the Animator file in a Text Editor and change the 'm_ObjectHideFlags' properties for the affected states from '3' to '1'

  1. Resolution Note (fix version 2020.2):

    This issue only seems to be repro with project that upgraded when a version of 19.4 got released, but then got fixed in the following version.
    The best we could provide is a debug contextual menu to force the inspected object to update its hidden flags.

Comments (21)

  1. Linjun233

    Jul 28, 2022 16:02

    Same on 2020.3.31f1c1,use the Debug mode of the Inspector to solve some problem.(three point by the right hand)

  2. Czarlz

    Apr 29, 2022 08:03

    2020.3.32f1 - Same issue. Makes it impossible to complete Unity tutorials.

  3. mcarriere

    Apr 26, 2022 16:27

    Chiming in to say that we too are seeing this issue in 2020.3.32f1, but it is likely a different bug here that needs to be logged. The inspector for a node will disappear the moment an exit transition is added to it, and will reappear the moment any exit transitions are added to the node.

    You can make the inspector show up if you mess with the UI Toolkit debugger, but the "Add Component" button/menu does not show up.

  4. German-Montero

    Apr 26, 2022 02:04

    Still buged on 2020.3.32f1

  5. --julian95--

    Apr 19, 2022 16:56

    This is not fixed in 2020.3.32f1. Animation State is only displayed if it has no outgoing transition. As soon as I create a transition to another state, the Animation State is no longer displayed.
    I checked the m_ObjectHideFlags and there are all set to 1 so this is not the problem.

  6. forhans

    Apr 05, 2022 07:40

    I had to convert the version to 2021.2.16(previously 2020.3.31)
    The inspector is displaying but after you make transition it will not displaying

  7. shunYing

    Apr 04, 2022 09:59

    Same issue on 2020.3.32
    This is not fixed

  8. fcloss

    Mar 30, 2022 16:44

    Same issue on 2020.3.32 =Z

  9. bradley_newman_aofl

    Mar 29, 2022 17:30

    See this bug with newly created Animator Controllers with Unity 2020.3.31f1. The workaround setting m_ObjectHideFlags from 3 to 1 didn't fix it.

  10. eheimburg

    Aug 25, 2021 08:16

    This is not fixed. It happened when I upgraded from 2019.4.20 to 2019.4.29f1. Many of my controllers are corrupted. It's hard to even tell which ones, and where.

    The workaround of "edit the affected nodes in a text editor" is very unhelpful. WHICH NODES ARE AFFECTED? I CAN'T TELL BECAUSE THEY AREN'T VISIBLE IN THE INSPECTOR. Do you want me to bulk-replace all m_ObjectHideFlags from 3 to 1? (If so, SAY THAT.)

    I also resent the notion that this is somehow our fault for upgrading. "The best you can do" is to provide a context menu? Really? Because I don't think it's the best you can do.

    But hey, at the very least you could... I dunno... ADD THE CONTEXT MENU OPTION to fix this!

    Lastly, I want to say that 2019.4.X has been AWFUL for bugs. Every time I've updated to a new 2019 LTS build, I've been punished for it. You need to do better.

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.