The xml2skp sample crashes SketchUp 2020

looking at the call stack after the crash suggests that it is related to when SketchUp is displaying the file selection dialog. If I just force it to continue when an exception occurs it eventually shows the dialog and I can select and import the xml file.

> ntdll.dll!RtlReportCriticalFailure() Unknown
ntdll.dll!RtlpHeapHandleError() Unknown
ntdll.dll!RtlpHpHeapHandleError() Unknown
ntdll.dll!RtlpLogHeapFailure() Unknown
ntdll.dll!RtlpFreeHeapInternal() Unknown
ntdll.dll!RtlFreeHeap() Unknown
ucrtbase.dll!_free_base() Unknown
SketchUp.exe!00007ff60c60e269() Unknown
SketchUp.exe!00007ff60c60e621() Unknown
SketchUp.exe!00007ff60c60c491() Unknown
SketchUp.exe!00007ff60c60c223() Unknown
SketchUp.exe!00007ff60c194c17() Unknown
mfc140u.dll!00007ff9e8ac51cb() Unknown
SketchUp.exe!00007ff60c1f07c8() Unknown
mfc140u.dll!00007ff9e8b87241() Unknown
mfc140u.dll!00007ff9e894a342() Unknown
SketchUp.exe!00007ff60c1aa25d() Unknown
mfc140u.dll!00007ff9e8b769e5() Unknown
mfc140u.dll!00007ff9e8b860be() Unknown
mfc140u.dll!00007ff9e8949190() Unknown
mfc140u.dll!00007ff9e8b75c10() Unknown
mfc140u.dll!00007ff9e8b75b6f() Unknown
mfc140u.dll!00007ff9e8b73453() Unknown
mfc140u.dll!00007ff9e8b73824() Unknown
mfc140u.dll!00007ff9e8a18cc9() Unknown
user32.dll!UserCallWinProcCheckWow() Unknown
user32.dll!DispatchMessageWorker() Unknown
mfc140u.dll!00007ff9e8b5c0f2() Unknown
mfc140u.dll!00007ff9e8b5c9f5() Unknown
SketchUp.exe!00007ff60c1f3272() Unknown
mfc140u.dll!00007ff9e8b8f580() Unknown
SketchUp.exe!00007ff60c800272() Unknown
kernel32.dll!BaseThreadInitThunk() Unknown
ntdll.dll!RtlUserThreadStart() Unknown