Prehistoric Era Reborn (20,000BC)
Awesome, that helped narrow it down quite a bit.
Steam comments tend to be notoriously vague, making it difficult to diagnose the problems.

So I suppose I should ask... are you running BNW? Future Worlds is rather heavily dependent on the code introduced by BNW and its patches, so I am not certain how it would run if you didn't have that expansion.
Yes, I have both expansions. The splash screen at game start says brave new world so that's not the problem.
So, with logging enabled I got a not very useful error:
[59217.859] Runtime Error: Assets\DLC\Expansion2\UI\TechTree\TechTree.lua:355: attempt to index field '?' (a nil value)
I checked TechTree.lua and found the following:
Code:
for tech in GameInfo.Technologies() do
local eraID = GameInfo.Eras[tech.Era].ID;
if not eraColumns[eraID] then
eraColumns[eraID] = { minGridX = tech.GridX; maxGridX = tech.GridX; researched = false; };
else
if tech.GridX < eraColumns[eraID].minGridX then
eraColumns[eraID].minGridX = tech.GridX;
end
if tech.GridX > eraColumns[eraID].maxGridX then
eraColumns[eraID].maxGridX = tech.GridX;
end
end
end
local eraID = GameInfo.Eras[tech.Era].ID; -> line 355
So I changed the function to:
Code:
for tech in GameInfo.Technologies() do
print("tech name", tech.Type);
print("tech.Era", tech.Era);
print("Era_ID", GameInfo.Eras[tech.Era].ID );
local eraID = GameInfo.Eras[tech.Era].ID;
if not eraColumns[eraID] then
eraColumns[eraID] = { minGridX = tech.GridX; maxGridX = tech.GridX; researched = false; };
else
if tech.GridX < eraColumns[eraID].minGridX then
eraColumns[eraID].minGridX = tech.GridX;
end
if tech.GridX > eraColumns[eraID].maxGridX then
eraColumns[eraID].maxGridX = tech.GridX;
end
end
end
Thus I discovered that the error is thrown when the first technology of the new era is processed, and the tech.Era field is valid, but the era ID field is null. Here is a relevant log sample:
Code:
[59217.859] TechTree: tech name TECH_INTERNET
[59217.859] TechTree: tech.Era ERA_FUTURE
[59217.859] TechTree: Era_ID 7
[59217.859] TechTree: tech name TECH_GLOBALIZATION
[59217.859] TechTree: tech.Era ERA_FUTURE
[59217.859] TechTree: Era_ID 7
[59217.859] TechTree: tech name TECH_PARTICLE_PHYSICS
[59217.859] TechTree: tech.Era ERA_FUTURE
[59217.859] TechTree: Era_ID 7
[59217.859] TechTree: tech name TECH_NUCLEAR_FUSION
[59217.859] TechTree: tech.Era ERA_FW_FUTURE
[59217.859] Runtime Error: Assets\DLC\Expansion2\UI\TechTree\TechTree.lua:357: attempt to index field '?' (a nil value)
[59217.859] Runtime Error: Error loading Assets\DLC\Expansion2\UI\TechTree\TechTree.lua.
Checking FutureEras.xml I notice that it does not have a ID field defined.
Code:
<Eras>
<Row>
<Type>ERA_FW_FUTURE</Type>
<Description>TXT_KEY_ERA_FW_FUTURE</Description>
<ShortDescription>TXT_KEY_ERA_FW_FUTURE_SHORT</ShortDescription>
<Abbreviation>TXT_KEY_ERA_FW_FUTURE_ABBREV</Abbreviation>
....................
....................
</Row>
</Eras>
I also have the exact same problem with the enlightment era mod.
Code:
[60509.671] TechTree: tech name TECH_BANKING
[60509.671] TechTree: tech.Era ERA_RENAISSANCE
[60509.671] TechTree: Era_ID 3
[60509.671] TechTree: tech name TECH_PRINTING_PRESS
[60509.671] TechTree: tech.Era ERA_RENAISSANCE
[60509.671] TechTree: Era_ID 3
[60509.671] TechTree: tech name TECH_GUNPOWDER
[60509.671] TechTree: tech.Era ERA_RENAISSANCE
[60509.671] TechTree: Era_ID 3
[60509.671] TechTree: tech name TECH_NAVIGATION
[60509.671] TechTree: tech.Era ERA_ENLIGHTENMENT
[60509.671] Runtime Error: Assets\DLC\Expansion2\UI\TechTree\TechTree.lua:357: attempt to index field '?' (a nil value)
[60509.671] Runtime Error: Error loading Assets\DLC\Expansion2\UI\TechTree\TechTree.lua.
The enlightment era mod hardcodes the eras in the eras xml file, and I noticed that only ERA_ANCIENT has an ID defined with value 0, none of the others have an ID field. So I manually added ID for each era, but it still failed the first time it had to get ID of enlightment era. So i'm stumped. My modding experience is null, so I have no idea how to aproach this further.
Each test was done with only that single mod enabled. When tested FW, only FW was enabled. When tested enlightment, only it was enabled.
Aside from adding those 3 lines for prints I made no edits to the game files, nor did I install any mod that had to be installed in the game instalation folder.
Aditionally, Prehistoric Era Reborn (20,000BC) works, and Ultimate Eras Mod (V 8.1 TEXT UPDATE) (v 8) also works.
So I believe it is safe to rule out problems with my installation.
I'm stumped guys. Anyone got some insight?