Sid Meier's Civilization: Beyond Earth

Sid Meier's Civilization: Beyond Earth

Enhanced Promotions
Bosparan  [developer] 2 Nov, 2014 @ 4:33pm
[Bugs] Unit UI Bugs - Known Issues and Workarounds
This is the thread to post all UI related problems.
Please note, that these errors do not occur due to anything this mod in specific does, but a bug in the CivBE Engine in drawing the unit information panel. I'll also post any workarounds I encounter.
The purpose here is to develop a sufficient information base to heuristically determine the problem factors. This would on one hand allow me to optimize mod stability in context of the current bugs and on the other enable me to give Firaxis a far more detailed bug report (and thus improve our chances to get the bug resolved).

Things to report:
(If Possible add as much information of this as you can manage)
- Mods loaded
- Game Difficulty
- Game Options
- Game Duration
- Map Size
- Screen Resolution / Hertz / FulScreen or Windowed <-- Especially important information


Known workarounds

Everything works fine, then the next day, after I load my savegame, the unit info panel is always corrupted.
Reliability of Workaround: Verified (2 positive, 0 negative)
- Change Screen Resolution to a lower resolution
- Load Game
- Save Game
- Return to old resolution and Load the Game
Last edited by Bosparan; 4 Nov, 2014 @ 11:09am
< >
Showing 1-7 of 7 comments
Sad Feta 4 Nov, 2014 @ 5:34am 
UI glitch on load (please note these are the mods I was using last time, and I have not unticked enhanced promotion mod and reticked it yet. Will be trying that later.)
Mods loaded;
Simple Clock (v.1)
Asteroid Refinery (v.2)
Health Redistribution (v.1)
Siege Range Increase (v.1)
The Brotherhood of Nod (v.1 (0.01))
Warlike Aliens (v.1)
Previous Route in Red (v.1)
Quest info for building tooltips (v.2)
Randomize Colony Names (v.2)
Terraforming Orbitals Changes (v.1)
Time Victory Disabled (v.1)
Tougher Ships (v.3)
Colourful Tech Webs (v.9)
Player Colour for Units (v.3)
Deamonic Union (v.7)
Empowered Wonders (v.4)
Flexible Start Location (v.1)
HEalthy Citizens (v.2)
Larger AI Armies (v.1)
Enhanced Aliens (v.2)
Enhanced Promotions (v.1) <--- Your mod here
JFD's The Iron Pact (v.1)

Game Difficulty
Apollo

Game speed
Quick

Game options
Allow Veterancy Saving (Maybe this is one of my problems, will try later)
Allow Virtue Differal (This has never worked for me, will turn it off later)
Frenzied Aliens
New Random Seed

Map Size
Massive

Moniter stuff
res; 1920x1080, 60Hz
Fullscreen
AA: Off
VSync: On
Threaded Rendering: On




Anything I missed, let me know.
Sad Feta 4 Nov, 2014 @ 7:17am 
Right, so after reloading the game to try the 'screen res change' fix (and not actually doing anything), the save worked. Which confuses me a lot.
Any thoughts?
Bosparan  [developer] 4 Nov, 2014 @ 11:08am 
Hi Golden Arbiter,

thanks for the very detailed bug report, much appreciated. I'm currently gathering data and comparing results. Based on what data I've gotten - I'm browsing other mods / sites for 'em too - I've come to the preliminary realization, that it happens vastly more often for players using Full Screen than those who play in window mode. It's preliminary, because I have not all that much data to go on, and more players play full screen, so it's not too reliable data.
Having tested both windowed and full screen myself, I've gotten these results, which do appear indicative:

Window Style / Number of tries / Bugged On Start / % / Bugged on Reload / %
Windowed / 40 / 1 / 2.5% / 0 / 0%
Full Screen / 40 / 19 / 47.5% / 12 / 30%

Yes, that was a pain to test out (and doesn't count foreign reports so far. I've found a single other reported windowed mode unit-panel corruption so far).

I ran some monitors on system stats while running these tests, which fairly conclusively show that CivBE uses quite a bit multithreading (as a matter of fact, it can cap out all the 6 CPU cores it can see while loading the game). Randomly occuring events that have the same input usually indicate a resource affected issue. This in combination with it only happening when adding Unit promotion mods and with vastly different percentages when in different screen modes leads me to a single most probable place to look at:

Concurrent processing of the UnitPromotion Table from the mod and the preparatory calculation for the unit info bar.

Full Screen and Windowed would have different computational requirements (and significantly different prerequisites in terms of libraries and available resources), explaining the large observed difference between the two.

I'll see what I can do about it (maybe rebuild the unit info panel from scratch, though that would be a pain). One thing I'd considered was postponing loading the promotion tables. The problem with that is that it would likely to cause significant problems with Savegame consistency (probably lead to crashes on all reloads).

Aargh! Sid Fix this! ;(

Anyway,
Cheers and thanks again for the report,
Bosparan
Sad Feta 4 Nov, 2014 @ 5:44pm 
That is a very logical conclusion then, and I will definitely give it a try. Do you think it would be possible to do a windowed fullscreen (I can't remember the term for it, my apologies), which could aliviate the issue?
Bosparan  [developer] 4 Nov, 2014 @ 10:05pm 
If you set Civ to 1920x1080 Windowed it will be maximized (fill out the entire screen minus window frame and task bar)
Boba Brett 11 Nov, 2014 @ 7:08am 
I'm not saying it's this mod (it's always hard to tell what the culprit is), but I am still having issues with the unit UI as described. Changing to Fullscreen back to Windowed (what I usually play on) fixes it, but it's still a bit of a hassle so I thought I'd post my information to see if it helps solve the issue at all.

The mods I have:
Aliens - Unlimited XP (v1)
Simple Clock (v1)
Trade Route Duration - 80 (v1)
Stronger Explorers (v1)
Colorful Tech Web (v6)
Free Road and Magrail (v1)
Previous Route in Red (v1)
BeBa - Beyond Balance (v1)
Player Color for Units (v3)
InfoAddict (v3)
Randomize Colony Names (v2)
Enhanced Loadout (v6)
More Information - BE (v2)
Visually Distinct Terrains - Arid (v2)
Visually Distinct Terrains - Fungal (v1)
UI Notification for Units Nearing Death in Miasma (v1)
Higher Contrast Sponsor Colors (v1)
Fast Turn Options (v2)
Enhanced Promotions (v1)
Euphotic Stimulator (v1)
Aggressive Wildlife - A Hostile Planet (v5)
Alien Strains (v2)
SiegeRange Plus (v2)
Units Explorer Affinity Upgrades (v1)
Map Revealing Tech (v1)
Better Numbers (v3)

Plus various extra Sponsors but I wasn't sure if that was necessary?

My saved game is:
Map Type: Terran
Map Size: Massive
Difficulty: Mercury
Game Pace: Marathon

My video settings:
Resolution: 1680x1050 Windowed


If there's anything else you need please let me know and I hope this helps.
Bosparan  [developer] 11 Nov, 2014 @ 11:17am 
Thanks a lot for the info, it helps a lot (especially good to know it happens on windowed mode for you. Haven't had many reports on that and I haven't been able to reproduce much of it in windowed mode - Works almost always for me).
I'm currently working on a community fix for this (if it's feasible at all), but I'm just not yet there and every bit of data helps. I've got a database set up for this and gathering reports, which is giving me some data on occurrence distribution, which I then compare with the data from a friend of mine (who works in large scale, end user, computer hardware retail, and thus has the data on the average game rig). The final result then helps me in designing tests (which, alas, so far have been mostly disappointing).
< >
Showing 1-7 of 7 comments
Per page: 1530 50