Cities: Skylines

Cities: Skylines

Building Themes
nigelcgn 1 Oct, 2022 @ 6:39am
Building Themes & TM:PE compatibility? CS Districts & building spawning
After reading in the comments that somebody had a problem with these two mods together, I thought I would try my city without TM:PE but with Building Themes, because the latter was definitely causing issues with CS: Districts not spawning buildings. The test produced this error message, which I duly report:

Please report this error on the Building Themes workshop page:
ERROR: Object reference not set to an instance of an object
at BuildingThemes.BuildingThemesManager.RefreshAreaBuildings (.FastList`1[] m_areaBuildings, System.Collections.Generic.HashSet`1 enabledThemes, System.Collections.Generic.HashSet`1 blacklistedThemes, Boolean includeVariations) [0x00000] in <filename unknown>:0
at BuildingThemes.BuildingThemesManager.CompileDistrictThemes (Byte districtId) [0x00000] in <filename unknown>:0
at BuildingThemes.BuildingThemesManager.EnableTheme (Byte districtId, BuildingThemes.Theme theme) [0x00000] in <filename unknown>:0
at BuildingThemes.BuildingThemesManager.ImportStylesAsThemes () [0x00000] in <filename unknown>:0
at BuildingThemes.BuildingThemesManager.ImportThemes () [0x00000] in <filename unknown>:0
at BuildingThemes.SerializableDataExtension.ApplyConfiguration (BuildingThemes.DistrictsConfiguration configuration) [0x00000] in <filename unknown>:0
at BuildingThemes.SerializableDataExtension.OnLoadData () [0x00000] in <filename unknown>:0
< >
Showing 1-5 of 5 comments
nigelcgn 1 Oct, 2022 @ 6:40am 
nigelcgn 1 Oct, 2022 @ 7:24am 
Very interesting. I deactivated TMPE and activated Building Themes.

All themes needed to be reactivated, but work and all CS District buildings are now spawning and upgrading. So there is definitely (in my view) an issue between these two mods.

When after running the game a while, I saved, I get a second error message and request to post:

Please report this error on the Building Themes workshop page:
ERROR: Object reference not set to an instance of an object
at BuildingThemes.SerializableDataExtension.OnSaveData () [0x00000] in <filename unknown>:0

So now is the question which mod is causing the issue? I can't judge that as I'm not a coder... I hope somebody else can resolve it. :-)

If the mod owners need more data, please let me know. I can do more tests.
nigelcgn 1 Oct, 2022 @ 7:40am 
Hi Boformer,

I've also reported my issue in a thread in the Paradox Support forum:

https://forum.paradoxplaza.com/forum/threads/cities-skylines-steam-high-density-zone-buildings-no-longer-arise-some-stuck-in-build.1543156/#post-28509617

co_avanya had been looking at this.
nigelcgn 5 Oct, 2022 @ 9:25am 
OK, problem resolved. It seems that switching of Theme Management for the district, and after a short while switching it back on fixes the issue. Very strange. I found this out by first creating a new district of the same type without touching theme management - all buildings worked as expected :-) Then adding theme management. And it continues to work. Perhaps the theme management got out of kilter with the P&P code upgrade and then the new Building Themes version sorted it - but only after switching on & off. Anyway, I'm pleased to report that all seems to be fine now.
nihilco 9 Oct, 2022 @ 1:18am 
Thanks for sharing the issue, and moreover, the solution :)
< >
Showing 1-5 of 5 comments
Per page: 1530 50