Page MenuHomeFeedback Tracker

SCR_MapLocator error when using "Hill" type
Awaiting internal Testing, NormalPublic

Description

When using the "Hill" type, SCR_MapLocator will throw an error.

Details

Severity
Trivial
Resolution
Open
Reproducibility
Always
Operating System
Windows 10
Category
General
Steps To Reproduce
  1. Create a GenericEntity with SCR_EditableCommentComponent and SCR_MapDescriptorComponent.
  2. Edit the SCR_MapDescriptorComponent: Set a display name and its type to "Hill" (not "Name Hill").
  3. Name and icon will be displayed correctly on the map.
  4. Add an SCR_MapLocator entity, move the player near it.
  5. When you open the map, a NULL Pointer Exception will occur in line 93 of SCR_MapLocator::CalculateClosestLocation(), it seems it cannot correctly get the MapItem.

Event Timeline

TilW created this task.Mar 13 2024, 11:16 PM
Geez changed the task status from New to Awaiting internal Testing.Mar 14 2024, 11:35 AM