Page 1 of 1
[Genhis] [1.1.70] regression with scenario locale loading
Posted: Thu Oct 13, 2022 9:51 am
by Honktown
What's happening: A scenario locale string used in a render_text is not found (rendering created on_init I think), but is available, later.
Expected: It works, like 1.0. Not sure when the bug first arises.
Scenario which reproduces it:
only changes from existing scenario are commented out some defines that don't exist in 1.0. This scenario will start in 1.0 and 1.1.
1.1.70:
- locale_regression_1.1.70.jpg (487.68 KiB) Viewed 2418 times
1.0.0:
- locale_regression_1.0.0.jpg (132.74 KiB) Viewed 2418 times
Re: [1.1.70] regression with scenario locale loading
Posted: Thu Oct 13, 2022 10:00 am
by Honktown
Adding: With only base enabled, the bug still exists.
Re: [1.1.70] regression with scenario locale loading
Posted: Thu Oct 13, 2022 1:32 pm
by Hanakocz
Updated the barebone scenario used in similar report.
1) it spawns one car on init (red nameplate)
2) spawns cars on chunk generated too (green nameplate)
3) each car has rendered nameplate on it with localized string
car created on_init does not have locale recognized, cars created later do. Even in the same chunk, which should happen at the (practically) same moment, technically?
- cars.png (1.48 MiB) Viewed 2369 times
Re: [Genhis] [1.1.70] regression with scenario locale loading
Posted: Tue Oct 25, 2022 6:38 pm
by Genhis
Thanks for the report. It was broken in 1.1.58 when we moved map creation to a separate thread, so that the progress bar could be updated on the main thread. It's now fixed for the next release.