yairm210 / Unciv

Open-source Android/Desktop remake of Civ V
Mozilla Public License 2.0
8.26k stars 1.55k forks source link

NullPointerException on getDiplomacyManager() #11768

Closed mouillerart closed 2 months ago

mouillerart commented 2 months ago

Is there an existing issue for this?

Game Version

4.12.0

Describe the bug

Hi there, noticed a game crash with latest version NullPointerException at com.unciv.logic.civilization.Civilization.getDiplomacyManager(Civilization.kt:324) What's missing?

Steps to Reproduce

  1. Install mods
  2. Load savefile
  3. Click on "next turn"
  4. See error

Screenshots

No response

Link to save file

The Empire.zip

Operating System

Windows

Additional Information

Platform: Desktop Version: 4.12.0 (Build 1007) Rulesets: [Civ V - Vanilla, Tyretes Tileset, Orbis Terrarum for Unciv, Community Maps, Civ V Leader portraits, Civ6 mod, Epic of Fantasy, Civ6 Tileset, Alpha Frontier, Unciv IV mod, UncivWarhammer, Civ V - Gods & Kings, 5Hex Tileset, Fantasia] Last Screen: com.unciv.ui.screens.worldscreen.WorldScreen

tuvus commented 2 months ago

Can you send the full stack trace?

tuvus commented 2 months ago

A patch should be going through to fix this, please update when you can.

mouillerart commented 2 months ago

The patch corrects the bug. Thank you!