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

Having copied the example snippet for the new [SerializeReference] feature from:

Creating that “SomeThing” ScriptableObject and trying to add an entry through the Inspector, causes Unity to output the following error:

(Unity) StackWalker::GetCurrentCallstack
(Unity) StackWalker::ShowCallstack
(Unity) GetStacktrace
(Unity) DebugStringToFile
(Unity) GenerateUndoDiffs
(Unity) PropertyDiffUndoRecorder::Flush
(Unity) Application::TickTimer
(Unity) MainMessageLoop
(Unity) WinMain
(Unity) __scrt_common_main_seh
(KERNEL32) BaseThreadInitThunk
(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 Likes

I’m getting the same error as Peter77 even though I don’t have any CSharp code yet?

2019.3.0f1 still. It really bothers me.

The fix for this issue was part of b8. If you’re still experiencing it in a later version, please submit a bug report for it.
https://issuetracker.unity3d.com/product/unity/issues/guid/1181373/

Still present in 2019.3.4f1

still no fix for this using 2019.3.1f1 :confused:

im having the same problem , im still a beginner is there anything i can do to fix it?

try check code that you wrote last sometimes it doesn’t save code