[CTD] Upgrading Transit hub

Build Number / Patch Number: 16317-v251-S

Seed Number: 1449964696

Type of Bug: Crash

Blocking Progression: Yes

Result of Save/Load: Save/Reload does not prevent crash

Short description:

Upgrading a transit hub connected to a road network causes CTD as soon as the upgrade button is clicked. It also appears that in the save where this is happening that trucks have stopped being dispatched to job sites (transit hub always reports all 3 trucks are parked). Trucks appear to have been working until a smokestack was completed.

Reproduction Steps:
Click upgrade button on a transit hub to upgrade from T1 to T2 when trucks have stopped running.

[Edit] Disabling the transit hub and clicking upgrade while the building is disabled is a workaround for the CTD.

UE4 Report:
Unhandled exception

Titan_Win64_Shipping!UBYGNavigationDriveable::RemoveRoad() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\Management\Navigation\BYGNavigationDriveable.cpp:2158]
Titan_Win64_Shipping!UBYGRoadTile::RefreshRoadEnabledState() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\CityTiles\Other\BYGRoadTile.cpp:533]
Titan_Win64_Shipping!UBYGRoadTile::RefreshAdjRoadEnabledStateRecursive() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\CityTiles\Other\BYGRoadTile.cpp:463]
Titan_Win64_Shipping!UBYGRoadTile::RefreshAdjRoadEnabledStateRecursive() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\CityTiles\Other\BYGRoadTile.cpp:502]
Titan_Win64_Shipping!UBYGRoadTile::RefreshAdjRoadEnabledStateRecursive() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\CityTiles\Other\BYGRoadTile.cpp:502]
Titan_Win64_Shipping!UBYGRoadTile::RefreshAdjRoadEnabledStateRecursive() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\CityTiles\Other\BYGRoadTile.cpp:502]
Titan_Win64_Shipping!UBYGRoadTile::RefreshAdjRoadEnabledStateRecursive() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\CityTiles\Other\BYGRoadTile.cpp:502]
Titan_Win64_Shipping!UBYGRoadTile::RefreshRoadEnabledState() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\CityTiles\Other\BYGRoadTile.cpp:538]
Titan_Win64_Shipping!UBYGCity::RefreshAdjacantRoads() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\Management\BYGCity.cpp:3371]
Titan_Win64_Shipping!UBYGPowerManagement::MarkBuildingAsDisabled() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\Management\BYGPowerManagement.cpp:4632]
Titan_Win64_Shipping!UBYGPowerManagement::MarkAsDisabled() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\Management\BYGPowerManagement.cpp:4742]
Titan_Win64_Shipping!UBYGBuildingBase::RefreshDisabledState() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\CityTiles\Buildings\BYGBuildingBase.cpp:2104]
Titan_Win64_Shipping!UBYGBuildingBase::AddDisabledReason() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\CityTiles\Buildings\BYGBuildingBase.cpp:2194]
Titan_Win64_Shipping!UBYGTileConstructionJob::Init() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\Management\Jobs\BYGTileConstructionJob.cpp:494]
Titan_Win64_Shipping!UBYGCity::BuildingConstruction() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\Management\BYGCity.cpp:9797]
Titan_Win64_Shipping!UBYGCity::Upgrade() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\World\Management\BYGCity.cpp:9319]
Titan_Win64_Shipping!UBYGUWCityPopupBuildingModule::OnUpgradeButtonActivated() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\UI\City\PopupModules\BYGUWCityPopupBuildingModule.cpp:516]
Titan_Win64_Shipping!UBYGUWCityPopupBuildingModule::execOnUpgradeButtonActivated() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\UI\City\PopupModules\BYGUWCityPopupBuildingModule.h:12]
Titan_Win64_Shipping!UFunction::Invoke()
Titan_Win64_Shipping!UObject::ProcessEvent()
Titan_Win64_Shipping!TMulticastScriptDelegate<FWeakObjectPtr>::ProcessMulticastDelegate<UObject>()
Titan_Win64_Shipping!UBYGUWButton::OnButtonActivated() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\UI\Common\BYGUWButton.cpp:135]
Titan_Win64_Shipping!UBYGUWButton::execOnButtonActivated() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\UI\Common\BYGUWButton.h:36]
Titan_Win64_Shipping!UFunction::Invoke()
Titan_Win64_Shipping!UObject::ProcessEvent()
Titan_Win64_Shipping!TMulticastScriptDelegate<FWeakObjectPtr>::ProcessMulticastDelegate<UObject>()
Titan_Win64_Shipping!UBYGButton::SlateHandleClicked() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\UI\Core\Widgets\BYGButton.cpp:349]
Titan_Win64_Shipping!TBaseUObjectMethodDelegateInstance<0,UBYGToggle,FReply __cdecl(bool,bool)>::Execute() [C:\Program Files\Epic Games\UE_4.22\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:617]
Titan_Win64_Shipping!BYGSButton::OnMouseButtonUp() [C:\BuildAgent\work\bdc308496d447b55\Titan\Source\Titan\UI\Core\Widgets\BYGSButton.cpp:474]
Titan_Win64_Shipping!SButton::FArguments::OnClicked<SWebBrowser>()
Titan_Win64_Shipping!FSlateApplication::RoutePointerUpEvent()
Titan_Win64_Shipping!FSlateApplication::ProcessMouseButtonUpEvent()
Titan_Win64_Shipping!FSlateApplication::OnMouseUp()
Titan_Win64_Shipping!FWindowsApplication::ProcessDeferredMessage()
Titan_Win64_Shipping!FWindowsApplication::DeferMessage()
Titan_Win64_Shipping!FWindowsApplication::ProcessMessage()
Titan_Win64_Shipping!FWindowsApplication::AppWndProc()
user32
user32
Titan_Win64_Shipping!FWindowsPlatformApplicationMisc::PumpMessages()
Titan_Win64_Shipping!FEngineLoop::Tick()
Titan_Win64_Shipping!GuardedMain()
Titan_Win64_Shipping!GuardedMainWrapper()
Titan_Win64_Shipping!WinMain()
Titan_Win64_Shipping!__scrt_common_main_seh() [d:\agent\_work\4\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
kernel32
ntdll
2 Likes

hey @Billio and thank you so much for the detailed post! Very very helpful, we appreciate it a ton! I think we actually have a fix for this in the pipes right now, we’ll work on getting it to you ASAP! The note about disabling the Hub before upgrading in particular was incredibly useful in diagnosing the problem. Cheers!

1 Like