Hello, community!
I'm using ArcGIS SDK for Unreal Engine version 1.2 and I want to turn on and off Integrated Mesh Layers (using the remove function)
But when I loop through the ArcGIS Layer component to remove layers, the engine crashes.
Example: I have 27 items in the Layer Position array, after removing 14 items the engine crash.
Solved! Go to Solution.
Hi,
Thanks for your post.
I tried to reproduce the crash with the plugin and UE version but I haven't managed to do so.
I don't see any crash when I removed an integrated mesh scene layer from the map with many layers.
I'm wondering if the crash was caused by trying to remove a layer with an index that doesn't exist anymore. Can you check if the index number of the layer you are trying to remove is correct?
Hi,
Thanks for your post.
I tried to reproduce the crash with the plugin and UE version but I haven't managed to do so.
I don't see any crash when I removed an integrated mesh scene layer from the map with many layers.
I'm wondering if the crash was caused by trying to remove a layer with an index that doesn't exist anymore. Can you check if the index number of the layer you are trying to remove is correct?
Yes! That's why the engine crashed. When I remove layers from the array, the index no longer remains accurate. Therefore, instead of using the index to remove layers, it would be preferable to use the layer's name.
Thank you for your support!