Sorry, my English is not good
environment:C++ Project 、 UE5.5.4 、cesium for unrealv2.16.0 from FAB
step:
- C++ create ACesium3DTileset and Add UCesiumWebMapTileServiceRasterOverlay Component (connect WMTS server)
- call RefreshTileset() function error crash,Or the second call error crash
unreal editor works fine,Run crash after bundling
I have been troubled for a long time, please help me,thank!
@Yuan_Yao Thank you for the bug report. Do you have any further information - a log to attach or an error message? It’s hard for us to figure out what might be causing this error just from this information.
I used the first map from the CesiumforUnrealSamples project, changed “Source “from” WorldTerrain” to “FromEllipsoid”, pressed “1” to call “RefreshTileset”, and Package the project.
Crash when called the second time.
I suspect something to do with FromEllipsoid.
Do you have any solutions?Thank!
can you please share unreal engine log that would be helpfull.
[2025.05.26-01.10.10:978][ 0]LogRenderer: SceneCulling instance hierarchy is disabled as UseNanite(PCD3D_SM5) returned false, for scene: ‘World /Game/CesiumSamples/Maps/01/01_CesiumWorld.01_CesiumWorld’.
[2025.05.26-01.10.10:980][ 0]LogLoad: Game class is ‘FloatingGameMode_C’
[2025.05.26-01.10.10:981][ 0]LogWorld: Bringing World /Game/CesiumSamples/Maps/01/01_CesiumWorld.01_CesiumWorld up for play (max tick rate 0) at 2025.05.26-09.10.10
[2025.05.26-01.10.10:981][ 0]LogWorld: Bringing up level for play took: 0.001122
[2025.05.26-01.10.10:981][ 0]LogGameMode: FindPlayerStart: PATHS NOT DEFINED or NO PLAYERSTART with positive rating
[2025.05.26-01.10.10:982][ 0]LogCesium: Display: Caching Cesium requests in D:/_FB/A/Windows/CesiumForUnrealSamples/cesium-request-cache.sqlite
[2025.05.26-01.10.10:989][ 0]LogCesium: Loading tileset from ellipsoid
[2025.05.26-01.10.10:990][ 0]LogCesium: Loading tileset from ellipsoid done
[2025.05.26-01.10.10:992][ 0]LogLoad: Took 0.048505 seconds to LoadMap(/Game/CesiumSamples/Maps/01/01_CesiumWorld)
[2025.05.26-01.10.10:992][ 0]LogGlobalStatus: UEngine::LoadMap Load map complete /Game/CesiumSamples/Maps/01/01_CesiumWorld
[2025.05.26-01.10.10:993][ 0]LogSlate: Took 0.000654 seconds to synchronously load lazily loaded font ‘../../../Engine/Content/EngineFonts/Faces/RobotoRegular.ufont’ (155K)
[2025.05.26-01.10.11:081][ 0]LogSlate: Took 0.000406 seconds to synchronously load lazily loaded font ‘../../../Engine/Content/Slate/Fonts/Roboto-Regular.ttf’ (155K)
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 262353156
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 3978538558
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 4010538823
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 2339225014
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 44711071
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 3207349639
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 2942690206
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 2511934903
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 1524810181
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 67000772
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 3298652537
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 3171790670
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 1949102720
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 3124433604
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 3947715583
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 3269014494
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 1151284780
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 3174464286
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 2520062553
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 313096490
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 4084932720
[2025.05.26-01.10.11:112][ 0]LogRHI: Display: Encountered a new graphics PSO: 948550928
[2025.05.26-01.10.11:145][ 0]LogRHI: Display: ShaderPipelineCache: Paused Batching. 1
[2025.05.26-01.10.11:145][ 0]LogPakFile: AllPaks IndexSizes: DirectoryHashSize=331288, PathHashSize=16, EntriesSize=49152, TotalSize=380456
[2025.05.26-01.10.11:145][ 0]LogRHI: Display: ShaderPipelineCache: Resumed Batching. 0
[2025.05.26-01.10.11:145][ 0]LogRHI: Display: ShaderPipelineCache: Batching Resumed.
[2025.05.26-01.10.11:163][ 0]LogInit: Display: Engine is initialized. Leaving FEngineLoop::Init()
[2025.05.26-01.10.11:163][ 0]LogLoad: (Engine Initialization) Total time: 1.90 seconds
[2025.05.26-01.10.11:164][ 0]LogRHI: Display: Encountered a new graphics PSO: 2117515212
[2025.05.26-01.10.11:167][ 0]LogContentStreaming: Texture pool size now 1000 MB
[2025.05.26-01.10.11:167][ 0]LogCsvProfiler: Display: Metadata set : streamingpoolsizemb=“1000”
[2025.05.26-01.10.11:169][ 0]LogSlate: InvalidateAllWidgets triggered. All widgets were invalidated
[2025.05.26-01.10.11:169][ 0]LogTrace: Display: Display Control listening on port 39188
[2025.05.26-01.10.11:186][ 2]LogRHI: Display: Encountered a new graphics PSO: 2099845989
[2025.05.26-01.10.11:186][ 2]LogRHI: Display: Encountered a new graphics PSO: 97204863
[2025.05.26-01.10.11:186][ 2]LogRHI: Display: Encountered a new graphics PSO: 2049209023
[2025.05.26-01.10.11:186][ 2]LogRHI: Display: Encountered a new graphics PSO: 1361515512
[2025.05.26-01.10.11:186][ 2]LogRHI: Display: Encountered a new graphics PSO: 3585831051
[2025.05.26-01.10.11:186][ 2]LogRHI: Display: Encountered a new graphics PSO: 1752689215
[2025.05.26-01.10.11:186][ 2]LogRHI: Display: Encountered a new graphics PSO: 2649802852
[2025.05.26-01.10.11:186][ 2]LogRHI: Display: Encountered a new graphics PSO: 3303821413
[2025.05.26-01.10.11:186][ 2]LogRHI: Display: Encountered a new graphics PSO: 2048894703
[2025.05.26-01.10.11:217][ 6]LogRHI: Display: Encountered a new graphics PSO: 1947520254
[2025.05.26-01.10.43:681][216]LogAudioMixer: Display: Audio Buffer Underrun (starvation) detected. InstanceID=1
[2025.05.26-01.10.43:681][216]LogWindows: Could not start crash report client using ../../../Engine/Binaries/Win64/CrashReportClient-Win64-Debug.exe
[2025.05.26-01.10.43:681][216]LogMemory: Platform Memory Stats for Windows
[2025.05.26-01.10.43:681][216]LogMemory: Process Physical Memory: 1154.59 MB used, 1177.77 MB peak
[2025.05.26-01.10.43:681][216]LogMemory: Process Virtual Memory: 1930.42 MB used, 1954.49 MB peak
[2025.05.26-01.10.43:681][216]LogMemory: Physical Memory: 34554.46 MB used, 30896.89 MB free, 65451.36 MB total
[2025.05.26-01.10.43:681][216]LogMemory: Virtual Memory: 43351.84 MB used, 73299.52 MB free, 116651.36 MB total
[2025.05.26-01.10.43:681][216]Message dialog closed, result: Ok, title: The UE-CesiumForUnrealSamples Game has crashed and will close, text: Fatal error!
[2025.05.26-01.10.43:681][216]LogWindows: Error: === Critical error: ===
[2025.05.26-01.10.43:681][216]LogWindows: Error:
[2025.05.26-01.10.43:681][216]LogWindows: Error: Fatal error!
[2025.05.26-01.10.43:681][216]LogWindows: Error:
[2025.05.26-01.10.43:681][216]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
[2025.05.26-01.10.43:681][216]LogWindows: Error:
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73f58896a CesiumForUnrealSamples.exe!UCesiumGltfComponent::DetachRasterTile'::
2’::<lambda_1>::operator()() [F:_UnrealProjects5_5\CesiumforUnrealSamples\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp:3578]
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73f046e35 CesiumForUnrealSamples.exe!anonymous namespace'::forEachPrimitiveComponent<
UCesiumGltfComponent::DetachRasterTile’::2'::<lambda_1> >() [F:\_UnrealProjects5_5\CesiumforUnrealSamples\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp:3462] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73f58df8d CesiumForUnrealSamples.exe!UCesiumGltfComponent::DetachRasterTile() [F:\_UnrealProjects5_5\CesiumforUnrealSamples\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp:3598] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73f734f4b CesiumForUnrealSamples.exe!UnrealPrepareRendererResources::detachRasterInMainThread() [F:\_UnrealProjects5_5\CesiumforUnrealSamples\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\UnrealPrepareRendererResources.cpp:244] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff7439f0253 CesiumForUnrealSamples.exe!Cesium3DTilesSelection::RasterMappedTo3DTile::detachFromTile() [] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff7439e72ff CesiumForUnrealSamples.exe!Cesium3DTilesSelection::TilesetContentManager::unloadTileContent() [] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff7439e74bd CesiumForUnrealSamples.exe!Cesium3DTilesSelection::TilesetContentManager::unloadTileContent() [] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff7439e74bd CesiumForUnrealSamples.exe!Cesium3DTilesSelection::TilesetContentManager::unloadTileContent() [] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff7439b8b70 CesiumForUnrealSamples.exe!Cesium3DTilesSelection::Tileset::~Tileset() [] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73ed9950e CesiumForUnrealSamples.exe!ACesium3DTileset::DestroyTileset() [F:\_UnrealProjects5_5\CesiumforUnrealSamples\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\Cesium3DTileset.cpp:1262] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737ca83a9 CesiumForUnrealSamples.exe!UFunction::Invoke() [] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737fc1969 CesiumForUnrealSamples.exe!UObject::CallFunction() [] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737fe770d CesiumForUnrealSamples.exe!UObject::ProcessContextOpcode() [] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737fe9548 CesiumForUnrealSamples.exe!ProcessLocalScriptFunction() [] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737fa9bd9 CesiumForUnrealSamples.exe!ProcessScriptFunction<void (__cdecl*)(UObject * __ptr64,FFrame & __ptr64,void * __ptr64)>() [] [2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737fb66f1 CesiumForUnrealSamples.exe!
TThreadSingleton::Get’::`2’::<lambda_1>::operator()()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737fe9153 CesiumForUnrealSamples.exe!ProcessLocalFunction()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737fe9548 CesiumForUnrealSamples.exe!ProcessLocalScriptFunction()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737fe8f03 CesiumForUnrealSamples.exe!UObject::ProcessInternal()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737ca83a9 CesiumForUnrealSamples.exe!UFunction::Invoke()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737fe8a35 CesiumForUnrealSamples.exe!UObject::ProcessEvent()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73d225694 CesiumForUnrealSamples.exe!AActor::ProcessEvent()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff738925de3 CesiumForUnrealSamples.exe!TScriptDelegate::ProcessDelegate()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73d7c1285 CesiumForUnrealSamples.exe!FInputActionHandlerDynamicSignature_DelegateWrapper()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73e93b9c3 CesiumForUnrealSamples.exe!FInputActionUnifiedDelegate::Execute()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73e938421 CesiumForUnrealSamples.exe!UPlayerInput::EvaluateInputDelegates()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff740b1a6b8 CesiumForUnrealSamples.exe!UEnhancedPlayerInput::EvaluateInputDelegates()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73e97b5a5 CesiumForUnrealSamples.exe!UPlayerInput::ProcessInputStack()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73e280483 CesiumForUnrealSamples.exe!APlayerController::ProcessPlayerInput()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73e296f3e CesiumForUnrealSamples.exe!APlayerController::TickPlayerInput()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73e27bafa CesiumForUnrealSamples.exe!APlayerController::PlayerTick()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73e29558a CesiumForUnrealSamples.exe!APlayerController::TickActor()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73d20b8ca CesiumForUnrealSamples.exe!FActorTickFunction::ExecuteTick()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73e84013f CesiumForUnrealSamples.exe!FTickFunctionTask::DoTask()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73e856c26 CesiumForUnrealSamples.exe!TGraphTask::ExecuteTask()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff73727c393 CesiumForUnrealSamples.exe!UE::Tasks::Private::FTaskBase::TryExecuteTask()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff737272477 CesiumForUnrealSamples.exe!FNamedTaskThread::ProcessTasksNamedThread()
[2025.05.26-01.10.43:681][216]LogWindows: Error: [Callstack] 0x00007ff7372728be CesiumForUnrealSamples.exe!FNamedTaskThread::ProcessTasksUntilQuit()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff73727ef77 CesiumForUnrealSamples.exe!FTaskGraphCompatibilityImplementation::WaitUntilTasksComplete()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff73e8aa71a CesiumForUnrealSamples.exe!FTickTaskSequencer::ReleaseTickGroup()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff73e8b8973 CesiumForUnrealSamples.exe!FTickTaskManager::RunTickGroup()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff73dddc2fe CesiumForUnrealSamples.exe!UWorld::RunTickGroup()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff73dde2d0d CesiumForUnrealSamples.exe!UWorld::Tick()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff73daf4b7f CesiumForUnrealSamples.exe!UGameEngine::Tick()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff73ed12a35 CesiumForUnrealSamples.exe!FEngineLoop::Tick()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff73ed2331c CesiumForUnrealSamples.exe!GuardedMain()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff73ed233ea CesiumForUnrealSamples.exe!GuardedMainWrapper()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff73ed260e2 CesiumForUnrealSamples.exe!LaunchWindowsStartup()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff73ed32ff4 CesiumForUnrealSamples.exe!WinMain()
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff7442ed6aa CesiumForUnrealSamples.exe!__scrt_common_main_seh() [D:\a_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2025.05.26-01.10.43:682][216]LogWindows: Error: [Callstack] 0x00007ff93f6b7374 KERNEL32.DLL!UnknownFunction
[2025.05.26-01.10.43:682][216]LogWindows: Error:
[2025.05.26-01.10.43:685][216]LogExit: Executing StaticShutdownAfterError
[2025.05.26-01.10.43:686][216]LogWindows: FPlatformMisc::RequestExit(1, LaunchWindowsStartup.ExceptionHandler)
[2025.05.26-01.10.43:686][216]LogWindows: FPlatformMisc::RequestExitWithStatus(1, 3, LaunchWindowsStartup.ExceptionHandler)
[2025.05.26-01.10.43:686][216]LogCore: Engine exit requested (reason: Win RequestExit)
Follow my steps and the test will crash,Please help me. Thank you!
I have been troubled for a long time, please help me,thank!
@Yuan_Yao Sorry for the delaying in responding, we had a long weekend this week so I’ve only just gotten back to the office.
I was able to look in to your crash and reproduce it with the steps you’ve described. I’m still trying to figure out what’s causing it, but I’ve drafted up a GitHub issue to keep track and make sure we tackle it.
Thank you again for the bug report!
I’ve managed to track down the source of the bug, and I’ve made a pull request with a fix that you can find here. This fix will hopefully make it into the next release of Cesium for Unreal, but you can follow the developer setup to build your own copy of Cesium for Unreal with the ellipsoid-tileset-raster-unloading
branch of Cesium Native if you want to get the fix now.