CQUI-Org / cqui

Civilization 6 - Chao's Quick UI. Reduce clicks and manage your empire faster!
MIT License
318 stars 64 forks source link

ReportScreen - Units: Null-Exception #491

Closed JHCD closed 7 years ago

JHCD commented 7 years ago

With the newest CQUI master (2017-04-10) I get the following Exception:

'''' Runtime Error: C:\Users\User\Documents\My Games\Sid Meier's Civilization VI\Mods\cqui\Integrations\URS\ReportScreen.lua:1685: attempt to index a nil value stack traceback: C:\Users\User\Documents\My Games\Sid Meier's Civilization VI\Mods\cqui\Integrations\URS\ReportScreen.lua:1685: in function 'sort_units' C:\Users\User\Documents\My Games\Sid Meier's Civilization VI\Mods\cqui\Integrations\URS\ReportScreen.lua:2145: in function '(anonymous)' ''''

Not sure, if there is a dependency to #490

ricanuck commented 7 years ago

Does it crash the report screen?

JHCD commented 7 years ago

No, but I don't know if something is missing. Only this Excpetion when I open the Report - mostly, not every time

ricanuck commented 7 years ago

Strange, never seen this before, but didn't try lately (Stellaris' fault..)... looking at the code, there is nothing new there, has not been changed in a long while, same for the other exception you are reporting... did you verify integrity via Steam?

JHCD commented 7 years ago

Yes, just now, no errors...

My savegame: FRIEDRICH BARBAROSSA 2 - RepScr.zip

chaorace commented 7 years ago

The game will often get a little exception-happy if you hotload often enough in a single session. I'm loading the save now to see if I can replicate, but that's my first hunch

chaorace commented 7 years ago

I was unable to replicate this issue

ricanuck commented 7 years ago

Same here, not able to replicate.