Page 1 of 1

[1.1.90] naming a station "[img=item.]" causes game to freeze in train menus

Posted: Sat Sep 09, 2023 6:49 am
by NotRexButCaesar
To reproduce, create a new vanilla save, place a train stop anywhere (no trains or other entities are required), and rename the stop to

Code: Select all

[img=item.]
Opening the train menu, opening the stop, or opening any train will all cause the game to freeze and become unresponsive. This also happens when opening the minimap while a train station like this exists.

Re: [1.1.90] naming a station "[img=item.]" causes game to freeze in train menus

Posted: Mon Sep 18, 2023 8:17 pm
by Rseding91
Thanks for the report however I can't reproduce any crash or freeze doing the steps you provide.

Can you provide a save file that's in the broken state?

Re: [1.1.90] naming a station "[img=item.]" causes game to freeze in train menus

Posted: Tue Oct 17, 2023 9:22 pm
by NotRexButCaesar
Rseding91 wrote: Mon Sep 18, 2023 8:17 pm Thanks for the report however I can't reproduce any crash or freeze doing the steps you provide.

Can you provide a save file that's in the broken state?
Load this save, then open the map view. I also attached my configuration and log, in case those are important.

Re: [1.1.90] naming a station "[img=item.]" causes game to freeze in train menus

Posted: Tue Oct 17, 2023 10:30 pm
by Rseding91
You have "log-stack-trace-on-non-critical-exception=true" set in your config. This setting is not meant to be enabled except in debugging. Turning that off will fix the issue for you.