Search Unity

Bug (Case 1180716) Expanding [SerializeReference] in Inspector causes Editor freeze

Discussion in '2019.3 Beta' started by Peter77, Aug 31, 2019.

  1. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    4,012
    Having copied the example snippet for the new [SerializeReference] feature from:
    https://forum.unity.com/threads/serializereference-attribute.678868/#post-4543723

    Creating a child<>parent relationship through the [SerializeReferenceAttribute] causes the Unity Editor to freeze, when trying to expand it in the Inspector.

    Reproduce
    • Open attached project
    • Right-click in project window and choose "Create > Some Thing"
    • Select "New Some Thing" in project window
    • Click from main menu "BugReport/Populate Selected Some Thing"
    • Hold down the ALT key and click the foldout icon to expand "Trees" in the Inspector

    Actual
    Observe Unity freezes.

    Expected
    Unity should not freeze.
     

    Attached Files:

    Last edited: Aug 31, 2019
  2. Peter77

    Peter77

    Joined:
    Jun 12, 2013
    Posts:
    4,012
    LeonhardP likes this.