115. Map validation
Map validation helps ensure that Smart Replay scenarios use the correct map, preventing failures during map loading and ensuring compatibility with the source run.
115.1 Ensuring map compatibility for Smart Replay
To ensure a map is compatible with Smart Replay, follow these guidelines:
-
Smart Replay scenarios must use the same map as the source run. Using a different map, even a different version or a corrupt file, will cause the Smart Replay scenario to fail during map loading. Smart Replay now validates the map and provides a relevant warning if it does not match.
-
During the Foretify load phase, a warning is displayed when extracting a Smart Replay run created with a version earlier than release 25.03:
Warning: Ensure that you are using a valid map file.
-
If you try to run a session with a run that triggered this warning, it may cause unexpected behavior and prevent Foretify from running successfully. To avoid this issue, users can:
- Re-upload the run after the 25.03 or later release, to include a valid checksum.
- Use the same map file that was used during the original upload.
Note
Make sure that you implement the compute_checksum method correctly for the Map Support Package (MSP) when you import when running Foretify. This will ensure that the map checksum is generated and saved in Foretify. Without it, Smart Replay show a warning and will not be able to validate the correct map.