HoI 4 - Crash when parsing partial lines in map/definition.csv

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

bitmode

1st Reverse Engineer Battalion
Nov 10, 2016
4.085
8.014
Description of issue
Crash when parsing partial lines in map/definition.csv

Game Version
1.6.2-beta

Enabled DLC

Do you have mods enabled?
No

Description
When parsing map/definition.csv, all lines are skipped that contain less than 3 semicolon-separated items. Then 4 items get read unconditionally (province id, red, green, blue) from the line.
This causes a crash when a line contains exactly 3 values.

Steps to Reproduce
Change second line in map/definition.csv to "1;230;81"

Upload Attachment
 
Last edited:
Upvote 0