Search Unity

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:
    4,475
    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:
    4,475
  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. kyuskoj

    kyuskoj

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

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    1,829
unityunity