Cities: Skylines

Cities: Skylines

Lifecycle Rebalance Revisited 1.6.8
NerV-0-sol Feb 18, 2022 @ 10:26pm
All immigrants are uneducated
Hey. The last time I played Cities I used almost no mods and today after getting inspired by some youtubers, I decided to give it another shot after like 2 years or so. I installed a couple of mods such as Lifecycle Rebalance, Realistic Population, Real Time, etc., enabled them all and started a new map. I also checked the compatibility report to make sure there are no major incompatibilities (report on pastebin[pastebin.com]).

After a couple of minutes of play time, it turned out all my immigrants were uneducated (100% of them) which caused a lot problems because some facilities (primary schools show the "Not operating" label) could not function normally. I assume they now, by default, require educated people to work there due to Realistic Population mod, right?

I found the option to "Apply 25% variation to immigrant education levels" in Lifecycle Rebalance settings and I enabled it, hoping for a better result (shouldn't it be enabled by default? what's the default mod's behavior in this matter?).

I enabled that setting and I removed about 90% of my residential buildings to let the new immigrants in.
However, I was getting about 91% uneducated and 9% 1-level (primary school). Almost nobody had 2- or 3-level education so it didn't make any sense.

Then, I figured out I could check the Lifecycle Rebalance logs so I enabled immigrant logging and started a new map to make sure all the logs I get are accumulated from the very beginning.

After starting a new map and quickly getting 1325 cims, it turned out the behavior was slightly different this time. I've got about 85% uneducated, 13% of 1-level and 2% of 2-levels. It's better but still weird. Why there are literally no people with 3-level education? It doesn't make any sense.

This is the log file: pastebin[pastebin.com]
And this is my save file: dropbox[www.dropbox.com]

As you can see in the log file, for my 1325 cims there are:
- 2054 entries in total
- 144 "ThreeSchools" entries, so over 10% of my current population (!)
- all the "OneSchool", "TwoSchools" and "ThreeSchools" entries are logged before line 619. after which all the remaining 1435 entries were "Uneducated", so it means that after a certain point I stopped getting educated immigrants. It looks like something broke at that point, doesn't it?

Out of curiosity, I checked what was the education level of the first 619 immigrants (so only the entries until the moment it "broke") by looking at the first 619 entries of the log and I've got:
- Uneducated: 173
- OneSchool: 169
- TwoSchools: 133
- ThreeSchools: 144

So it looked pretty much like something I would normally expect to happen.

Is that a bug or perhaps some known mods incompatibility?

LifecycleRebalance.xml file: pastebin[pastebin.com]
Last edited by NerV-0-sol; Feb 19, 2022 @ 1:18am
Showing 1-11 of 11 comments
algernon  [developer] Feb 22, 2022 @ 12:35am 
I've tried to reproduce this issue, and failed, and (yet another) code audit hasn't turned up any issue with the code, either.

Can you please confirm if this is still happening for you when you enable the mod's immigration options (randomize ages and education boost)?
NerV-0-sol Feb 22, 2022 @ 4:34pm 
Thanks a lot for your investigation.

Do you expect me to uninstall all the other mods to confirm? I'm wondering how troublesome it's going to be to remove (unsubscribe) them temporarily and re-install later.

Anyway, before I do anything, can you please tell me what is the default mod's behavior when "Apply 25% variation to immigrant education levels" is disabled?

Also, is it possible that one of the DLCs is required to make it work correctly? In particular, I don't have the Campus DLC. Perhaps you made some assumptions in the code related to this?
algernon  [developer] Feb 22, 2022 @ 8:24pm 
Responding in reverse order:

- DLCs don't actually work that way; they don't contain any code themselves (all installs of the game have the same code, regardless of what DLCs are active or otherwise; DLC downloads are all assets and metadata). There are no feature or functionality checks for DLC in the method patched by the mod.


- The default mod behavior when that option is disabled is to do nothing; just take the unmodified immigration education level that the game decides, which is based entirely on the level of the building that they're moving into (level 1 building means uneducated, level 2 building means educated, level 3 means well-educated, and levels 4 and 5 mean highly-educated).

So if you've got a lot of empty level 1 buildings that people are moving into, seeing all citizens being uneducated is not unusual, which is why applying this setting will help determine what's the primary driver for the education levels we're seeing.


- The ideal test case would be this mod on its own (plus LSM because of sanity and it's a known quantity that won't affect anything), but this is not needed at this stage. For reference, there's an easy way to do this: move the userGameState.cgs file out of it's default location at %LocalAppData%\Colossal Order\Cities_Skylines\ and restart the game Doing this will reset all your settings, including disabling all your mods - you then just have to re-enable this mod and LSM, and start testing. At the conclusion of testing, simply restore the old userGameState.cgs file (overwriting the new one that the game will have created), and hey presto, everything's back to the way it was (as always, don't rely on disabling mods for regular gameplay - unsubscribe instead if you're not using them - but it's okay for testing).

But as I said, let's do the above test with the mod's immigration education settings fully enabled first.
NerV-0-sol Feb 23, 2022 @ 6:35pm 
OK, thanks for the explanation, will try on the weekend and let you know.
infixo Aug 18, 2022 @ 3:25pm 
"(level 1 building means uneducated, level 2 building means educated, level 3 means well-educated, and levels 4 and 5 mean highly-educated)."
So this is the reason I am getting 2 and 3-years old kids that are highly educated... lol
I checked immigration log and I see things like:
Family member 2 immigrating with age 4 (1 years old) and education level ThreeSchools.
Family member 3 immigrating with age 8 (2 years old) and education level ThreeSchools.
Family member 4 immigrating with age 1 (0 years old) and education level ThreeSchools.
This is so stupid... is there a way to put some sanity into this? Like make sure that the education level doesn't exceed the one attached to age?
algernon  [developer] Aug 18, 2022 @ 10:57pm 
@infixo Yes, I'll take a look at what can be done there.
Azuvector Nov 22, 2022 @ 7:13am 
I'm having the same issue. 100% of immigrants are completely uneducated, and are not eligible for any schooling. Disabling Realistic Population + Lifecycle Rebalance results in population becoming eligible for elementary school immediately. Re-enabling the two mods results in eligible population for all types of school going to 0 after a few seconds after the game loads.
Last edited by Azuvector; Nov 22, 2022 @ 7:26am
algernon  [developer] Nov 22, 2022 @ 9:10am 
Disable the custom childhood settings if you want children to be eligible for school from age 0.
Azuvector Nov 22, 2022 @ 4:52pm 
Originally posted by algernon:
Disable the custom childhood settings if you want children to be eligible for school from age 0.

Not tried it yet, will later, but immigrants are all ineligible too. Adults and so forth. Is that purely based on the housing level they're immigrating to? So a new city, everyone is always uneducated until housing has leveled up? And adults aren't eligible for any education, at any level?

How do those uneducated adults ever raise their education? Or do they simply not, and the game relies on new immigrants after housing has leveled up, or children growing up and passing through school eligibility tiers?
algernon  [developer] Nov 22, 2022 @ 10:01pm 
Adults indeed aren't eligible for any education - that's how the base game works, and is unchanged by this mod.

Once a cim has passed the age range for a level of education (elementary, high, college/university), then that's it - the only chance they have at getting more education is through public libraries. They will be ineligible for any formal schooling.

Immigration will only marginally boost eligible students, and only for those immigrants that already fit into those age ranges (children etc.). As with adults, once an 'education stage' has been passed, that's it - no second chances. So an immigrating teenager who hasn't completed elementary school will also not be eligible for high school (or college/university).
Azuvector Nov 23, 2022 @ 2:37pm 
Yep, thank you for the explanation. It does indeed appear to be working with a new city if you give it a bit of time.
Showing 1-11 of 11 comments
Per page: 1530 50