Select to view content in your preferred language

How to Optimize VTPK and SLPK Performance in Unreal Engine?

115
1
3 weeks ago
jiaqili1
Emerging Contributor

Hi everyone,

I'm working on a project in Unreal Engine where I need to integrate large-scale geographic data using VTPK (Vector Tile Packages) and SLPK (Scene Layer Packages) files. While everything works, I'm facing performance issues when handling multiple large VTPK and SLPK files, especially during zooming and panning operations.

I’m looking for advice on:

  1. Best practices for optimizing the performance of VTPK and SLPK in Unreal Engine.
  2. Techniques to manage large datasets dynamically (e.g., loading/unloading based on the camera view).
  3. Recommendations for managing textures and materials efficiently, especially to reduce memory usage from mipmaps.
  4. Any specific settings in Unreal Engine or ArcGIS Maps SDK for Unreal that can improve performance for these data types.

If you've worked with similar setups or have experience optimizing map data in Unreal Engine, I'd appreciate your insights!

Thanks in advance!

0 Kudos
1 Reply
AShahbaz
Esri Contributor

I don't have a ton of experience in this area, but here are a few starting points. Hopefully, other community members can chime in with more information.

If applicable, you could update your slpk to a newer i3s version using this tool, which may optimize the LoDs.

The content is loaded dynamically based on what is visible to ArcGIS Pawn (ArcGIS Camera Component specifically). In some cases, it might help to separate the ArcGIS Camera from the actual camera/pawn, to prevent unloading of the content as the pawn is looking around. But this could also cause slower initial load and more memory usage.

The ArcGIS Camera Component has a `Quality Scaling Factor`, that control the LoD being loaded at a certain distance from the camera, which in turn can affect the performance.

0 Kudos