Page MenuHomeFeedback Tracker

[BUG] Unknown enum value spammed in rpt for waypoints
Closed, ResolvedPublic

Description

Happens both for native and custom WPs. Also client and server rpt

mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value Artillery
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value GetInNearest
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value SeekAndDestroy
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value TransportUnload
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value Artillery
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value SeekAndDestroy
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value TransportUnload
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value TransportUnload
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value WW2_VehiclePath
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value WW2_VehiclePathCalculated
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value WW2_InfantryRush
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value WW2_VehiclePath
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value WW2_VehiclePathCalculated
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value WW2_InfantryRush
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value WW2_VehiclePath
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value WW2_InfantryRush
mission.sqm/Mission/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD/Entities/itemDDD.type: Unknown enum value WW2_VehiclePath

Details

Severity
None
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Editor

Event Timeline

dedmen added a subscriber: dedmen.EditedMar 27 2023, 1:52 PM

Well.. the message is correct.
these types don't exist, and the engine fails to parse them.
But why does it write the types to that place then 🤔

For SeekAndDestroy the real enum name is SAD... oh..
The engine tries to add two "type" properties. One is the waypoint type (which it will read back in later) and other is the "classname" inside Eden

So Eden changed the type names, but the ENUM wasnt updated accordingly? That said changing such ENUM should be quite risky..

dedmen set Ref Ticket to AIII-55630.Mar 27 2023, 2:02 PM
dedmen changed the task status from New to Feedback.Mar 27 2023, 3:55 PM

The enum is not used.
Eden reuses the "type" entry for a different thing, but the old waypoint serialization still runs on it and tries to read type in its way, while Eden reads type in another way.
The waypoint type is actually completely ignored after its read.

Fixed next dev/prof

awesome - much appreciated!

kju-PvPscene closed this task as Resolved.Sat, Feb 10, 9:28 PM
kju-PvPscene claimed this task.