Description

One of Pixars example .usd files is crashing the editor when importing with 'USD Stage' (KitchenSet imports with no errors)

It is possible to import the file via content browser without crashing. (I only see one tiny building when importing this way)

Tested with 4.25 10303526 With different result - If I open the .usd and then 'Reload' the same file through 'USD Stage' it does not crash.

Without reloading - EXCEPTION_ACCESS_VIOLATION reading address 0xffffffff crash

Steps to Reproduce
  1. Enable USD Importer Plugin
  2. Download 'CitySet' from Pixars USD examples [Link Removed] (Also attached)
  3. Open Window -> USD Stage, open+import downloaded USD (All default settings)

Result: Crash with !EdgeArray[EdgeID].ConnectedPolygons.Contains(PolygonID) assert

Callstack

Assertion failed: !EdgeArray[EdgeID].ConnectedPolygons.Contains(PolygonID) [Link Removed] [Line: 571]

UE4Editor_Core!AssertFailedImplV() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:105]
UE4Editor_Core!FDebug::CheckVerifyFailedImpl() [d:\build\++ue4\sync\engine\source\runtime\core\private\misc\assertionmacros.cpp:455]
UE4Editor_MeshDescription!FMeshDescription::CreatePolygon_Internal() [d:\build\++ue4\sync\engine\source\runtime\meshdescription\private\meshdescription.cpp:571]
UE4Editor_MeshDescription!FMeshDescription::CreatePolygon() [d:\build\++ue4\sync\engine\source\runtime\meshdescription\public\meshdescription.h:584]
UE4Editor_USDUtilities!UsdToUnreal::ConvertGeomMesh() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdutilities\private\usdgeommeshconversion.cpp:322]
UE4Editor_USDStage!AUsdStageActor::LoadStaticMesh() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstage\private\usdstageactor.cpp:249]
UE4Editor_USDStage!AUsdStageActor::LoadPrim() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstage\private\usdstageactor.cpp:542]
UE4Editor_USDStage!AUsdStageActor::ExpandPrim() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstage\private\usdstageactor.cpp:616]
UE4Editor_USDStage!AUsdStageActor::ExpandPrim() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstage\private\usdstageactor.cpp:631]
UE4Editor_USDStage!AUsdStageActor::ExpandPrim() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstage\private\usdstageactor.cpp:631]
UE4Editor_USDStage!AUsdStageActor::ExpandPrim() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstage\private\usdstageactor.cpp:631]
UE4Editor_USDStage!AUsdStageActor::ExpandPrim() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstage\private\usdstageactor.cpp:631]
UE4Editor_USDStage!AUsdStageActor::ExpandPrim() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstage\private\usdstageactor.cpp:631]
UE4Editor_USDStage!AUsdStageActor::UpdatePrim() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstage\private\usdstageactor.cpp:796]
UE4Editor_USDStage!AUsdStageActor::LoadUsdStage() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstage\private\usdstageactor.cpp:1001]
UE4Editor_USDStage!AUsdStageActor::PostEditChangeProperty() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstage\private\usdstageactor.cpp:828]
UE4Editor_USDStageEditor!SUsdStage::OpenStage() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstageeditor\private\susdstage.cpp:517]
UE4Editor_USDStageEditor!SUsdStage::OnOpen() [d:\build\++ue4\sync\engine\plugins\importers\usdimporter\source\usdstageeditor\private\susdstage.cpp:363]
UE4Editor_USDStageEditor!TBaseSPMethodDelegateInstance<0,SUsdStage,0,void __cdecl(void)>::ExecuteIfSafe() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:369]
UE4Editor_Slate!SMenuEntryBlock::OnClicked() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1068]
UE4Editor_Slate!SMenuEntryBlock::OnMenuItemButtonClicked() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:1019]
UE4Editor_Slate!TBaseSPMethodDelegateInstance<0,SMenuEntryBlock,0,FReply __cdecl(void)>::Execute() [d:\build\++ue4\sync\engine\source\runtime\core\public\delegates\delegateinstancesimpl.h:293]
UE4Editor_Slate!SButton::ExecuteOnClick() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:385]
UE4Editor_Slate!SButton::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\widgets\input\sbutton.cpp:304]
UE4Editor_Slate!SMenuEntryButton::OnMouseButtonUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\multibox\smenuentryblock.cpp:386]
UE4Editor_Slate!FEventRouter::Route<FReply,FEventRouter::FToLeafmostPolicy,FPointerEvent,<lambda_6c1f6b862bcfb82ea6dcab28fbcc9463> >() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:372]
UE4Editor_Slate!FSlateApplication::RoutePointerUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:4612]
UE4Editor_Slate!FSlateApplication::ProcessMouseButtonUpEvent() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5135]
UE4Editor_Slate!FSlateApplication::OnMouseUp() [d:\build\++ue4\sync\engine\source\runtime\slate\private\framework\application\slateapplication.cpp:5103]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessDeferredMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1958]
UE4Editor_ApplicationCore!FWindowsApplication::DeferMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:2410]
UE4Editor_ApplicationCore!FWindowsApplication::ProcessMessage() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:1638]
UE4Editor_ApplicationCore!FWindowsApplication::AppWndProc() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsapplication.cpp:789]
user32
user32
UE4Editor_ApplicationCore!FWindowsPlatformApplicationMisc::PumpMessages() [d:\build\++ue4\sync\engine\source\runtime\applicationcore\private\windows\windowsplatformapplicationmisc.cpp:130]
UE4Editor!FEngineLoop::Tick() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launchengineloop.cpp:4397]
UE4Editor!GuardedMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\launch.cpp:173]
UE4Editor!GuardedMainWrapper() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:134]
UE4Editor!WinMain() [d:\build\++ue4\sync\engine\source\runtime\launch\private\windows\launchwindows.cpp:263]
UE4Editor!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll

Have Comments or More Details?

There's no existing public thread on this issue, so head over toAnswerHub just mention UE-84696 in the post.

0
Login to Vote

Fixed
ComponentTools - Import
Affects Versions4.244.25
Target Fix4.24
Fix Commit10135442
Main Commit10324873
Release Commit10135442
CreatedNov 19, 2019
ResolvedNov 20, 2019
UpdatedNov 21, 2019