Cities: Skylines II

Cities: Skylines II

View Stats:
Haristess Dec 1, 2023 @ 10:41pm
Thunderstore.io Mods - Error occurred - Field not found. (Resolved)
Hi there.

Ive just decided to give Mods ago within cs2, where ive installed everything and everything seems to work just fine. However within 5 minutes within the game i get this error:

Field not found: int Game.Prefabs.ObjectRequirementElement.m_Group Due to: Could not find field in class
MissingFieldException: Field not found: int Game.Prefabs.ObjectRequirementElement.m_Group Due to: Could not find field in class
at Game.Net.PatchedLaneSystem+UpdateLanesJob.CreateObjectLane (System.Int32 jobIndex, Unity.Mathematics.Random& random, Unity.Entities.Entity owner, Unity.Entities.Entity original, Game.Net.PatchedLaneSystem+LaneBuffer laneBuffer, Game.Objects.Transform transform, Game.Prefabs.SubLane prefabSubLane, System.Int32 laneIndex, System.Boolean sampleTerrain, System.Boolean cutForTraffic, System.Boolean isTemp, Game.Tools.Temp ownerTemp, Unity.Collections.NativeList`1[T] clearAreas) [0x00123] in <80daac9e029943a8a8007acac0f66bcf>:0
at Game.Net.PatchedLaneSystem+UpdateLanesJob.UpdateLanes (Unity.Entities.ArchetypeChunk chunk, System.Int32 chunkIndex) [0x007cd] in <80daac9e029943a8a8007acac0f66bcf>:0
at Game.Net.PatchedLaneSystem+UpdateLanesJob.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x0001c] in <80daac9e029943a8a8007acac0f66bcf>:0
at Game.Net.PatchedLaneSystem+UpdateLanesJob.Unity.Entities.IJobChunk.Execute (Unity.Entities.ArchetypeChunk& chunk, System.Int32 unfilteredChunkIndex, System.Boolean useEnabledMask, Unity.Burst.Intrinsics.v128& chunkEnabledMask) [0x00000] in <80daac9e029943a8a8007acac0f66bcf>:0
at Unity.Entities.JobChunkExtensions+JobChunkProducer`1[T].ExecuteInternal (Unity.Entities.JobChunkExtensions+JobChunkWrapper`1[T]& jobWrapper, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x000b5] in <9a7e91fb1c0a42bdb40b67eb2c0b13bb>:0
at Unity.Entities.JobChunkExtensions+JobChunkProducer`1[T].Execute (Unity.Entities.JobChunkExtensions+JobChunkWrapper`1[T]& jobWrapper, System.IntPtr additionalPtr, System.IntPtr bufferRangePatchData, Unity.Jobs.LowLevel.Unsafe.JobRanges& ranges, System.Int32 jobIndex) [0x00000] in <9a7e91fb1c0a42bdb40b67eb2c0b13bb>:0
at (wrapper delegate-invoke) Unity.Entities.JobChunkExtensions+JobChunkProducer`1+ExecuteJobFunction[Game.Net.PatchedLaneSystem+UpdateLanesJob].invoke_void_JobChunkExtensions/JobChunkWrapper`1<T>&_intptr_intptr_JobRanges&_int(Unity.Entities.JobChunkExtensions/JobChunkWrapper`1<Game.Net.PatchedLaneSystem/UpdateLanesJob>&,intptr,intptr,Unity.Jobs.LowLevel.Unsafe.JobRanges&,int)
Colossal.Logging.CustomLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

I have the following mods installed:
BepinExPack - Version 5.4.2.100
UnlockAllTiles - Version 1.0.0
EconomyFixer - Version 1.0.5
OnlyAdultTrees - Version 0.0.1
LegacyFlavour - Version 0.0.3
Extended_Road-Upgrades - Version 1.3.0
Line_Tool_Lite - Version 1.0.3
C2VM.TrafficLightEnhancement-BepinEx5 - Version 0.2.1-RC

Anyone using the thunderstore.io mod manager, and have these mods and had this issue?
thanks
Last edited by Haristess; Dec 1, 2023 @ 10:59pm
< >
Showing 1-8 of 8 comments
Haristess Dec 1, 2023 @ 11:04pm 
- Resolved

Traffic Light enhancement Mod, was causing the crash, due to the latest CS2 update.
https://github.com/slyh/Cities2-Various-Mods/discussions/46
CH13F Dec 1, 2023 @ 11:14pm 
most mods havent updated for 1.0.15 yet. wait a few days. only 5 mods so far updated of 11 i use. one of them base mod HookUI, bepinex havent updated neither which s foundation for all mods. since TLE isnt available in thunder yet idk if it has updated yet neither.
Last edited by CH13F; Dec 1, 2023 @ 11:18pm
Styxs_NL Dec 2, 2023 @ 1:26am 
Originally posted by Haristess:
- Resolved

Traffic Light enhancement Mod, was causing the crash, due to the latest CS2 update.
https://github.com/slyh/Cities2-Various-Mods/discussions/46
nop, not resolved for me, even started a clean game from steam itself with no mods and verified the files and still i get the error
Haristess Dec 2, 2023 @ 7:14am 
I never got my hands dirty with said mods to have a situation where my city saves, essentially no longer worked because of a broken mod.
All i can say, is that all the above mods "for me" work, except the Trafficenhancement mod, of which ive uninstalled and removed from my plugins folder.
It resolved the issue for me.
Ghostrider Dec 2, 2023 @ 8:03am 
The Traffic Light mod has been updated. One thing there is a big warning about using it.

https://thunderstore.io/c/cities-skylines-ii/p/slyh/Traffic_Lights_Enhancement_Alpha/

Quoted from the page:
Warning
"This update changes the save file format. Although it is intended to be compatible with older saves, cities saved in the new format will not load in v0.2.2 or earlier versions of this mod.

Please back up your saves before upgrading."
Dark--Knight84 Dec 3, 2023 @ 4:42pm 
I just had the same issue so disabled traffic light enhancement the one from github, installed the lite version and all is good now
pletus Dec 3, 2023 @ 4:52pm 
Man, yall are pretty brave to be modding the game already.
Originally posted by pletus:
Man, yall are pretty brave to be modding the game already.
Why? The game is essentially already broken.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: Dec 1, 2023 @ 10:41pm
Posts: 8