Hi, this issue happens while using CesiumForUnreal plugin version 1.20.1 with UE5.1.
Reproduction steps:
- Create new UE 5.1 project with CesiumForUnreal version 1.20.1 enabled
- Add Cesium World Terrain + Bing map aerial imagery.
- Set geo reference location to Latitude = 34.4000, Longitude = 132.4500, Height = 500
- Add another blank Cesium 3D Tileset actor
- In the blank 3D Tileset, set Ion asset ID to “2602291” (Japan 3D Building Data)
- Press enter / Start game → This results in Unreal Editor crashing with the below error.
The issue does not happen in the latest version of CesiumForUnreal plugin but several of our customers still use an older version of our Unreal Engine executable that is built with CesiumForUnreal 1.20.1 so we’re looking for a fix or workaround for this issue. I am attaching a simplified UE project here with step 1-3 above already configured. The error can be re-produced in this project by applying step 4-6.
Fatal error!
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000023b92bc0000
0x00007ff923600900 UnrealEditor-CesiumRuntime.dll!std::uninitialized_fill<std::_List_unchecked_iterator<std::_List_val<std::_List_simple_types<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,CesiumUtility::JsonValue> > > > * __ptr64,std::_List_unchecked_iterator<std::_List_val<std::_List_simple_types<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,CesiumUtility::JsonValue> > > > >() []
0x00007ff9235ff9f6 UnrealEditor-CesiumRuntime.dll!std::uninitialized_fill<std::_List_unchecked_iterator<std::_List_val<std::_List_simple_types<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,CesiumUtility::JsonValue> > > > * __ptr64,std::_List_unchecked_iterator<std::_List_val<std::_List_simple_types<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,CesiumUtility::JsonValue> > > > >() []
0x00007ff92361b5ec UnrealEditor-CesiumRuntime.dll!Cesium3DTilesSelection::BatchTableToGltfFeatureMetadata::convert() []
0x00007ff9235c99b9 UnrealEditor-CesiumRuntime.dll!Cesium3DTilesSelection::B3dmToGltfConverter::convert() []
0x00007ff9235c9695 UnrealEditor-CesiumRuntime.dll!Cesium3DTilesSelection::B3dmToGltfConverter::convert() []
0x00007ff9235ef913 UnrealEditor-CesiumRuntime.dll!Cesium3DTilesSelection::SubtreeAvailability::~SubtreeAvailability() []
0x00007ff9235ec399 UnrealEditor-CesiumRuntime.dll!std::_Ref_count_obj2<Cesium3DTilesSelection::TilesetContentLoaderResult<Cesium3DTilesSelection::TilesetJsonLoader> >::`vector deleting destructor'() []
0x00007ff923650776 UnrealEditor-CesiumRuntime.dll!CesiumAsync::CesiumImpl::ImmediateScheduler<CesiumAsync::CesiumImpl::TaskScheduler>::SchedulerScope::~SchedulerScope() []
0x00007ff92355015b UnrealEditor-CesiumRuntime.dll!<lambda_9b7abc8b8bff29d107c25ad938c205d5>::operator()() [C:\actions-runner\_work\cesium-unreal\cesium-unreal\packages\CesiumForUnreal\HostProject\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\UnrealTaskProcessor.cpp:10]
0x00007ff952c5a1ba UnrealEditor-Core.dll!UnknownFunction []
0x00007ff952c45a74 UnrealEditor-Core.dll!UnknownFunction []
0x00007ff952c4d744 UnrealEditor-Core.dll!UnknownFunction []
0x00007ff952c5c39c UnrealEditor-Core.dll!UnknownFunction []
0x00007ff952c5c286 UnrealEditor-Core.dll!UnknownFunction []
0x00007ff952c3db88 UnrealEditor-Core.dll!UnknownFunction []
0x00007ff952c7f0f2 UnrealEditor-Core.dll!UnknownFunction []
0x00007ff952c4c240 UnrealEditor-Core.dll!UnknownFunction []
0x00007ff952de1d3b UnrealEditor-Core.dll!UnknownFunction []
0x00007ff953395342 UnrealEditor-Core.dll!UnknownFunction []
0x00007ff95338d230 UnrealEditor-Core.dll!UnknownFunction []
0x00007ff9d8f5257d KERNEL32.DLL!UnknownFunction []
0x00007ff9da6caf28 ntdll.dll!UnknownFunction []
Crash in runnable thread Background Worker #20
Crash in runnable thread
Crash in runnable thread Background Worker #14
Crash in runnable thread
Crash in runnable thread Background Worker #19Background Worker #21Background Worker #13Background Worker #11
Crash in runnable thread Background Worker #12
Crash in runnable thread Background Worker #18
Crash in runnable thread Background Worker #17
Crash in runnable thread Background Worker #16
Crash in runnable thread
Crash in runnable thread Background Worker #15
Crash in runnable thread
Crash in runnable thread
Crash in runnable thread Background Worker #10Background Worker #9Background Worker #7Background Worker #2
Crash in runnable thread Background Worker #8
Crash in runnable thread
Crash in runnable thread Background Worker #3Background Worker #6
Crash in runnable thread Background Worker #5
Crash in runnable thread Background Worker #4
Thank you,
Harshal Mehta
JapanTest.zip (20.5 MB)