civfanatics / CQUI_Community-Edition

Civilization 6 mod - UI enhancements, reduce clicks and manage your empire faster!
MIT License
149 stars 28 forks source link

New Game Crash if barbarian clans mode is enabled #273

Closed loks1234 closed 3 years ago

loks1234 commented 3 years ago

Describe the bug Game Crashes after ending the first turn if the barb clans mode is enabled.

To Reproduce Steps to reproduce the behavior:

  1. Create a new game with barb clans enabled
  2. end turn
  3. see the Crash with error

Expected behavior No crash

Screenshots Edit: Screenshot (31)

General informations

Save game and logs Save Game: AutoSave_0001.zip

the-m4a commented 3 years ago

thanks for the save! I am looking into this now as this is obviously unexpected and not one I had seen...

the-m4a commented 3 years ago

I can't load it - I can't find whatever the YoRHaCore mod is. Wasn't on Steam that I could find, and google didn't turn up anything of interest. What is it? image

the-m4a commented 3 years ago

My guess is it's either YoRHaCore or some other UI mod that causes trouble? I'm puzzled as to what could be happening. I downloaded and enabled all of the other mods you have there that affect saved games. I can't play your exact game without that YoRHaCore mod tho.

(GitHub isn't letting me uplaod a screenshot, but it's just going to show me on turn 7 with a barb camp)

the-m4a commented 3 years ago

A user on the steam workshop (ubereffect) pointed me to the YoRHaCore mod, so I was able to load the save game. No crash for me... so now I wonder if it's another UI mod that you have enabled? A mod that does something with the City Banners I would think...

image

loks1234 commented 3 years ago

Tried disabling all mods except cqui but it shows the same error. If I disable the cqui it works just fine with or without other mods.

loks1234 commented 3 years ago

Just now tried again. Seems to be working fine if you settle the city on first turn. If I did not settle on first turn and ended the turn the game is crashing.

Edit: new save with only cqui enabled AutoSave_0001.zip

the-m4a commented 3 years ago

Okay... that doesn't make any sense, but sure. Can you grab the lua.log file?

ooh - just saw your edit. okay, hadn't tried not settling on the first turn. lemme see

the-m4a commented 3 years ago

Ah - indeed, a repro! image

the-m4a commented 3 years ago

heh - apparently game goes crash if you check and see if you are able to hire any units if you don't have a city

Now turn 3, no city founded by me yet, so I think the crash is taken care of now. I'll upload it to the workshop. image

loks1234 commented 3 years ago

Awesome. Thanks for updates👍