Summary:
The banner_icons.xml files from disabled mods are still read by the BannerManager. It'll cause:
- Empty slots are shown in the Banner Editor
- Custom colors from those XMLs are shown in the color list and can be applied
- If players select custom colors from a disabled mod and save that game, reading this saved game will crash the game because of invalid color IDs during the reading process.
Crash report ID:
2023-02-26_11.44.59_73509f88d40a0b79b5e7197ac89b8d6a
How to Reproduce:
1. Create a module containing the file "banner_icons.xml" in ModuleData directory
2. Define some custom banner colors
3. Start the game without loading this mod
4. In Banner Editor, the custom colors will show
5. Select a custom color and save the banner
6. Save the game
7. Load the saved game and it'll crash
Specific Tool: No
Media (Screenshots & Video):
Computer Specs:
OS: Windows 11 22H2 (22621.1265)
GPU: GTX 3080Ti
GPU Driver Version: 31.0.15.2756
CPU: Intel Core i7 9700K
RAM: 64G
Motherboard: ROG MAXIMUS XI HERO
Storage Device (HDD/SSD):
The banner_icons.xml files from disabled mods are still read by the BannerManager. It'll cause:
- Empty slots are shown in the Banner Editor
- Custom colors from those XMLs are shown in the color list and can be applied
- If players select custom colors from a disabled mod and save that game, reading this saved game will crash the game because of invalid color IDs during the reading process.
Crash report ID:
2023-02-26_11.44.59_73509f88d40a0b79b5e7197ac89b8d6a
How to Reproduce:
1. Create a module containing the file "banner_icons.xml" in ModuleData directory
2. Define some custom banner colors
3. Start the game without loading this mod
4. In Banner Editor, the custom colors will show
5. Select a custom color and save the banner
6. Save the game
7. Load the saved game and it'll crash
Specific Tool: No
Media (Screenshots & Video):
Computer Specs:
OS: Windows 11 22H2 (22621.1265)
GPU: GTX 3080Ti
GPU Driver Version: 31.0.15.2756
CPU: Intel Core i7 9700K
RAM: 64G
Motherboard: ROG MAXIMUS XI HERO
Storage Device (HDD/SSD):
Last edited: