I am building a scene which has multiple actors with an ARCGISLocation component in them. When I build the scene initially all works okay. I have moved to pulling in new locations during game play. This led initially to everything being at Game World location 0 0 and not in the right place. I managed to avoid that by making the node absolute height as default and then in the blueprint change to offset and set the height. This seems to allow them in the right place but leads to crashes very quickly.
If I switch my files (which keeps deleting and spawning new actors) a few times then navigate around the map a bit it will crash. This seems to be with the Elevation Monitor and doesn't happen when I have absolute height.
I know it is new in the latest release but are others finding it usable? Any workarounds?
The relevant bit in the crash log:
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0xffffffffffffffff
VCRUNTIME140
UnrealEditor_ArcGISMapsSDK!FString::operator=() [C:\Program Files\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Containers\UnrealString.h:112]
UnrealEditor_ArcGISMapsSDK!std::_Func_impl_no_alloc<`UArcGISLocationComponent::UpdateElevationMonitor'::`2'::<lambda_1>,void,Esri::GameEngine::Geometry::ArcGISPoint const &>::_Do_call() [C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.41.34120\INCLUDE\functional:874]
UnrealEditor_ArcGISMapsSDK!`Esri::GameEngine::Elevation::ArcGISElevationMonitor::SetPositionChanged'::`2'::<lambda_1>::<lambda_invoker_cdecl>() [C:\Users\-----\Documents\Unreal Projects\----------\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\API\GameEngine\Elevation\ArcGISElevationMonitor_API.cpp:104]
No answer, is no one else experiencing this? I am using Unreal 5.3.2 and using the surface placement is not possible due to stability.
I know this was just introduced in 1.6.0 can someone point me to how people previously set height above ground? Perhaps that way will be more reliable. A simple line trace at start doesn't work that well due to the terrain maybe not being fully loaded or LOD for those further away meaning they are close but not right on the ground.
Any pointers greatly appreciated.
This is still a problem in v2.0. If I use the height offset function then after a little interaction with the map it crashes the entire editor (or binary if packaged). It is some bad memory management in Elevation Monitor it seems.
I don't want to put the full crash logs on here but if any ESRI dev wants to fix this I can send the complete crash log.
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000b7124a6c008
UnrealEditor_ArcGISMapsSDK!FArcGISPointInstanceData::operator==() [C:\Users\sm9\Documents\DT_Frontend\unreal-digital-twin\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\Utils\ArcGISPointInstanceData.cpp:24]
UnrealEditor_ArcGISMapsSDK!std::_Func_impl_no_alloc<`UArcGISLocationComponent::UpdateElevationMonitor'::`2'::<lambda_1>,void,Esri::GameEngine::Geometry::ArcGISPoint const &>::_Do_call() [C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.38.33130\INCLUDE\functional:808]
UnrealEditor_ArcGISMapsSDK!`Esri::GameEngine::Elevation::ArcGISElevationMonitor::SetPositionChanged'::`2'::<lambda_1>::<lambda_invoker_cdecl>() [C:\Users\sm9\Documents\DT_Frontend\unreal-digital-twin\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\API\GameEngine\Elevation\ArcGISElevationMonitor_API.cpp:99]
runtimecore
runtimecore
runtimecore
runtimecore
UnrealEditor_ArcGISMapsSDK!Esri::GameEngine::Elevation::ArcGISElevationProviderInternal::DispatchEvents() [C:\Users\sm9\Documents\DT_Frontend\unreal-digital-twin\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\API\GameEngine\Elevation\ArcGISElevationProviderInternal_API.cpp:28]
UnrealEditor_ArcGISMapsSDK!Esri::ArcGISMapsSDK::Renderer::FArcGISRenderer::Update() [C:\Users\sm9\Documents\DT_Frontend\unreal-digital-twin\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\Renderer\ArcGISRenderer.cpp:125]
UnrealEditor_ArcGISMapsSDK!UArcGISMapComponent::TickComponent() [C:\Users\sm9\Documents\DT_Frontend\unreal-digital-twin\Plugins\ArcGISMapsSDK\Source\ArcGISMapsSDK\Private\Components\ArcGISMapComponent.cpp:1007]
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll