Cities: Skylines

Cities: Skylines

[DEPRECATED] Tree Anarchy 1.3.6
Strange behavior when loading game with Tree Anarchy as only mod
I have been messing with saved game from the workshop that was shared by City Planner Plays https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2783753819 (Tutoria 21) from a series he did on building a vanilla city to 100k population. Bear in mind the city was built vanilla without mods. He also presented his recommended mods that included Tree Anarchy.

After exploring the saved game, I decided to subscribe to his list of mods and practice making changes to his game. I never tried to directly use Tree Aanrchy and because the game was build vanilla, I assume CPP also did not use any mods.

I encountered some game issues and slowly eliminated all the mods. I unsubscribe from each and every mod and loaded the saved game (Tutoria 21) with no problems. Game seemed to work normally.

I then subscribed to Tree Anarchy (after also subscribing to its 2 REQUIRED ITEMS -Harmony and Move it). I then started CSL and checked to make sure i had the 3, and only the 3, intended mods and that they were all enabled. I then loaded the saved game Tutoria 21. I experienced 2 issues -
  • game is initially unresponsive for many seconds. Cannot unpause game.
  • finally, after games unfreezes, an error pops up "Array index is out of range. [System.IndexOutOfRangeException]" and the game starts operating normally. After dismissing the error, everything seems ok and no more errors pop up.

I close out the game without saving and exit to the desktop where I unsubscribe from Tree Anarchy, but not from the required items. I start CSL and check to make sure I have only the 2 required mods and they are still enabled. I then again loaded the saved game Tutoria 21, but this time without issues - I could immediately unpause the game and it immediately started running. No error popped up.
< >
Showing 1-15 of 22 comments
Chamëleon TBN  [developer] 20 Jul, 2022 @ 5:55am 
We would need your output_log.txt
Sir G (Bob) 21 Jul, 2022 @ 2:31pm 
Created a DeBugFiles folder in my DropBox and created a shared link to it --
https://www.dropbox.com/sh/xez7cvgcb4pjfa0/AADEpaJOlJVKOOZs7oTjom9Ta?dl=0

The first test "output_log - .0.Tutoria 21.NoMods.txt"
I unsubscribed from all mods.
Started CSL
Loaded CPP's savedgame "Tutoria 21"
Immediately press spacebar and the game unpaused.
Quit the game to the Desktop.

The 2nd test "output_log - .1.Tutoria 21.Mods.Reqd,Harmony.Move.txt"
I subscribed to the 2 required mods - Harmony 2.2-0 and Move it
Started CSL
Loaded CPP's savedgame "Tutoria 21"
Immediately press spacebar and the game unpaused.
Quit the game to the Desktop.

The 3rd test "output_log - .3.Tutoria 21.Mods.Reqd,Harmony.Move.TreeAnarchy.txt"
I subscribed to Tree Anarchy
Started CSL
Decided to check status of the 3 mods
--- Harmony 2.2-0 and Move it both enabled
--- Tree Anarchy was disabled. I enabled it.
Loaded CPP's savedgame "Tutoria 21"
Immediately press spacebar and the game did not respond. Continuously pressed the spacebar for 43 seconds before the game running bar turned green.
Then the Error Message box popped up. I pressed OK and the game continued running.
Quit the game to the Desktop.

The 4rd test "output_log - output_log - .4.Tutoria 21.Mods.Reqd,Harmony.Move.TreeAnarchyDisabled.txt"
I did NOT change any subscriptions
Started CSL
--- left both Harmony 2.2-0 and Move it enabled
--- Tree Anarchy was enabled. I disabled it.
Loaded CPP's savedgame "Tutoria 21"
Immediately press spacebar and the game unpaused.
Quit the game to the Desktop.
Basically the same test and apparent result as the 2nd test.

I hope this helps.
Chamëleon TBN  [developer] 22 Jul, 2022 @ 11:29am 
after subscribing and enableing a mod, you need to close game completely....
Sir G (Bob) 24 Jul, 2022 @ 1:40pm 
After reading your last comment
"after subscribing and enableing a mod, you need to close game completely...."
I'm not sure what you are wanting me to do or know.
Do you think I did something wrong with my tests?

Every time I stop playing a game, I save the game and then I quit to desktop - every time! In fact, except for these specific tests I ran for you, I always subscribe to the mod "Instant Return To Desktop [Steam ID 2037888659] by Cgameworld" and then I always use the "Terminate} button to quit the game.

I then have to start CSL from the Steam client in order to start a new game, or to load a saved game, or to continue the last played game.

I only subscribe to mods or unsubscribe from mods from the Steam client while CSL is NOT running. I never use the CSL Content Manager to go to the Steam Workshop.

I only disable a mod in the CSL Content Manager if I am deliberately experimenting or checking diagnostics.

If I want to stop using a mod, I save the game, then quit the game to the desktop, then I unsubscribe the mod in the Steam client, then start CSL from the Steam client, and load the saved game.

When I subscribe to one or more mods, I start CSL and then use the Content Manager to check to see the mods are enable. So far, in my experience, Tree Anarchy is not automatically enabled after subscribing so I have to enable it. To best of my recollection, all the other mods I have been using are automatically enabled after subscribing - at least they are enabled when I check in Content Manager.
Chamëleon TBN  [developer] 24 Jul, 2022 @ 1:57pm 
You wrote

Started CSL
Decided to check status of the 3 mods
--- Harmony 2.2-0 and Move it both enabled
--- Tree Anarchy was disabled. I enabled it.
Loaded CPP's savedgame "Tutoria 21"

But it must be:

Started CSL
Decided to check status of the 3 mods
--- Harmony 2.2-0 and Move it both enabled
--- Tree Anarchy was disabled. I enabled it.
Close CSL to Desktop
Start CSL
Loaded CPP's savedgame "Tutoria 21"


I need your output_log.txt from a load with Tree Anarchy. I need your CompatibilityReport.txt, and latest LSM _report_ File
Sir G (Bob) 25 Jul, 2022 @ 1:35pm 
Certainly. However, to minimize any potential conflicts with other mods, I ran my tests with only the listed 3 mods. Therefore I don't have the other 2 reports.

The shared folder in DropBox is still -
https://www.dropbox.com/sh/xez7cvgcb4pjfa0/AADEpaJOlJVKOOZs7oTjom9Ta?dl=0

My repeated test is as you requested -
"output_log - .12.Tutoria 21.Mods.Reqd,Harmony.Move.TreeAnarchyEnabledRestart.txt"

Started CSL
Decided to check status of the 3 mods
--- Harmony 2.2-0 and Move it both enabled
--- Tree Anarchy was disabled. I enabled it.
Close CSL to Desktop
Start CSL
Loaded CPP's savedgame "Tutoria 21"

The result was the same -

Immediately press spacebar and the game did not respond. Continuously pressed the spacebar for many (not timed) seconds before the game running bar turned green.
Then the Error Message box popped up. I pressed OK and the game continued running.
Quit the game to the Desktop.


To provide the 2 additional reports, I ran another test -
"output_log - .13.Test2.Tutoria 21.Mods.Reqd,Harmony.Move.TreeAnarchyEnabledRestart.txt"
"CSL.Mods.Tut21.ModList.DeBugTest2.CompatibilityReport.txt"
"Tutoria 21 - Assets Browser-2022-07-25_15-00-59.htm"
"Tutoria 21 - Assets Report-2022-07-25_15-00-59.htm"

Harmony 2.2-0, Move it, and Tree Anarchy were already subscribed and enabled from the the prior test.

From the Steam client I subscribed to mods "Compatibility Report" and "LSM temp fix for Airports DLC"
Started CSL
Check status of the 5 mods
The only 5 mods were all enabled.
JIC, I exited to the desktop;

Started CSL
Check status of the 5 mods (no other mods subscribed)
The only 5 mods were all enabled.
Start CSL
Loaded CPP's savedgame "Tutoria 21"

The result was the same -

Immediately press spacebar and the game did not respond. Continuously pressed the spacebar for 41 seconds before the game running bar turned green.
Then the Error Message box popped up. I pressed OK and the game continued running.
Quit the game to the Desktop.

Thanks
Chamëleon TBN  [developer] 26 Jul, 2022 @ 12:07am 
What happens if you start a new save?
Chamëleon TBN  [developer] 26 Jul, 2022 @ 12:10am 
Which custom trees do you use? you have an error with one tree:

```Trees
<long name>```
Chamëleon TBN  [developer] 26 Jul, 2022 @ 12:17am 
Your output_log shows more mods than the compatibility report. I need a full report from a load with _all_ your normally used mods.
Chamëleon TBN  [developer] 26 Jul, 2022 @ 12:21am 
And as i see you use normally Unlimited Tree Mod. You can't easily switch from the old to the new within an existing game, as the tree tec is a complete differetn one.... idk what else incompatible mods you normally use, that save data in game save, as you still not provided me the requested full CR. And sorry - ill not copy & paste all the IDs. Provide a full report.
Sir G (Bob) 26 Jul, 2022 @ 9:54am 
A couple of clarifications-
1- "Tutoria 21" is not my game. I subscribed to it from the workshop and it was authored by City Planner Plays (CPP). I have not made any changes to it.
2- I normally play total vanilla (my definition of vanilla is many custom assets but no mods.) Right now, today, when I go into the Steam client, click on Workshop, Browse subscribed items, then select only items tagged as "Mod", the only items I see are the 5 mods I mentioned in my test descriptions. They are also the only mods I see when I start CSL and check in Content Manager. They are the only mods I see in my Compatibility Report.

A few months ago I found the Youtube video by CPP where he shows building a city, "Tutoria 21", vanilla. So I decided to follow along and build the same city vanilla. CPP also shared his savedgames in the workshop. "Tutoria 21" is the last savedgame of his vanilla series. Even though CPP said he was playing vanilla, I have no idea what mods, if any, he had loaded. I have no idea how many custom assets he might have been using.

CPP does lots of landscaping (with trees, shrubs, ...) and decorating (with fences and other props). I very seldom do any additional landscaping or decorating - using props is not my thing at the moment.

Also, at the end of the series, CPP listed his recommendations of mods to use if not playing vanilla. This list included lots of mods for using props.

I then decided to do 2 things-
  1. Subscribe to CPP's recommended list of mods (that included Tree Anarchy)
  2. Subscribe to "Tutoria 21", load it, and then practice with the mods by making changes to a large pre-existing game.

I was trying to use CPP's recommendations as the base for building my personal normal set of mods. I currently have not determined a set of my normal mods.

I did not resave "Tutoria 21" after making changes to it. When I load "Tutoria 21", I think I am loading the subscribed game from the workshop.

Maybe CPP had mods loaded when he was playing vanilla and they got saved in his game and that is what you see. I don't know if that is even possible. I have no idea how CPP's list of subscribed mods and assets might have changed over the weeks of creating the 24 videos.

Since I still trying to figure out how to build standard stuff of roads, rails, transport, zoning, etc., I'm a long way from being concerned with beautification. I'm much more concerned about population and money. lol.

I just thought this might be helpful when I worked out that Tree Anarchy by itself (along with its required items) would generate an error when loading "Tutoria 21". I was not complaining or accusing, just providing a concrete reproducible error associated with Tree Anarchy. My guess is that Tree Anarchy did not CREATE the error, but that in fact Tree Anarchy is having problems dealing with a corrupted situation.

Actually, you could try to replicate my test by subscribing to "Tutoria 21" from the workshop.

Anyway, thank you for looking at this. Sorry if it wasn't helpful.

Bob
Chamëleon TBN  [developer] 26 Jul, 2022 @ 10:04am 
no worries,

the output_log.txt shows, that the Tutoria21 was created with ~20 mods. The only critical one is the old Unlimited Tree Mod, that can cause such issues. Nothing we can change, sorry.
Spartn 30 Sep, 2022 @ 6:39am 
Hi, im getting a similar issue, but i use the extended error message mod, and this error message only appears when tree anarchy is active, i un-subscribed and the error message never showed

System.IndexOutOfRangeException: Array index is out of range. at TreeManager.FireSimulationStep (TreeManager/BurningTree+) <0x002a9> at (wrapper dynamic-method) TreeManager.TreeManager.SimulationStepImpl_Patch0 (TreeManager,int) <0x002a4> at SimulationManagerBase`2.SimulationStep (int) <0x0004c> at TreeManager.ISimulationManager.SimulationStep (int) <0x00024> at SimulationManager.SimulationStep () <0x00693> at SimulationManager.SimulationThread () <0x0018a>


Output Log ;

IndexOutOfRangeException: Array index is out of range.
at TreeManager.PlayAudioImpl (.ListenerInfo listenerInfo) [0x00000] in <filename unknown>:0
at SimulationManagerBase`2[Manager,Properties].PlayAudio (.ListenerInfo listenerInfo) [0x00000] in <filename unknown>:0
at TreeManager.IAudibleManager.PlayAudio (.ListenerInfo listenerInfo) [0x00000] in <filename unknown>:0
at AudioManager.LateUpdate () [0x00000] in <filename unknown>:0
Chamëleon TBN  [developer] 30 Sep, 2022 @ 7:33am 
Spartn 30 Sep, 2022 @ 8:59am 
Originally posted by Chamëleon TBN:
Do you use https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=814903880 ? ... if so: that mod is broken....
i dont use that mod
< >
Showing 1-15 of 22 comments
Per page: 1530 50