Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

Bug (Case 1180712) Generating diff of this object for undo because the type tree changed

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

  1. Peter77

    Peter77

    QA Jesus

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

    Creating that "SomeThing" ScriptableObject and trying to add an entry through the Inspector, causes Unity to output the following error:
    Code (CSharp):
    1. (Unity) StackWalker::GetCurrentCallstack
    2. (Unity) StackWalker::ShowCallstack
    3. (Unity) GetStacktrace
    4. (Unity) DebugStringToFile
    5. (Unity) GenerateUndoDiffs
    6. (Unity) PropertyDiffUndoRecorder::Flush
    7. (Unity) Application::TickTimer
    8. (Unity) MainMessageLoop
    9. (Unity) WinMain
    10. (Unity) __scrt_common_main_seh
    11. (KERNEL32) BaseThreadInitThunk
    12. (ntdll) RtlUserThreadStart

    Reproduce
    • Open attached project
    • Select "New Some Thing" in project window
    • Expand "Trees" in Inspector
    • Change the size from 0 to 1

    Actual
    Observe Unity outputs an error.

    Expected
    No error?
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,650
  3. Alpha_Male

    Alpha_Male

    Joined:
    Sep 18, 2019
    Posts:
    1
    I'm getting the same error as Peter77 even though I don't have any CSharp code yet?
     
  4. jynerso

    jynerso

    Joined:
    Aug 28, 2013
    Posts:
    60
    2019.3.0f1 still. It really bothers me.
     
  5. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,143
  6. misterHallodri

    misterHallodri

    Joined:
    Sep 8, 2013
    Posts:
    4
    Still present in 2019.3.4f1
     
  7. realcosmik

    realcosmik

    Joined:
    Nov 27, 2018
    Posts:
    20
    still no fix for this using 2019.3.1f1 :/
     
  8. The_Medik

    The_Medik

    Joined:
    Mar 20, 2020
    Posts:
    1
    im having the same problem , im still a beginner is there anything i can do to fix it?
     
  9. wonyeongwonyeongwonyeong

    wonyeongwonyeongwonyeong

    Joined:
    Jul 21, 2021
    Posts:
    1
    try check code that you wrote last sometimes it doesn't save code