Ludeon Forums

RimWorld => Bugs => Topic started by: Elevator on June 18, 2018, 07:53:42 PM

Title: [1.0] World map doesn't show names composed from non-Latin symbols
Post by: Elevator on June 18, 2018, 07:53:42 PM
The issue https://ludeon.com/forums/index.php?topic=37049.0 is not fixed

Way to reproduce:
Actual result: no geographical names are shown (see first image). Multiple errors are displayed (see second image).
Expected result: geographical names are shown properly (see third image). For similar file RulePacks_Namers_WorldFeatures_Latin.xml (see attachments) everything works fine. No errors displayed. These files differ only in language, they have no references to any other rulepack.

Error text:
Root level exception in Update(): System.IndexOutOfRangeException: Array index is out of range.
  at RimWorld.Planet.WorldFeatureTextMesh_TextMeshPro.WrapAroundPlanetSurface () [0x000c7] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\Planet\Features\WorldFeatureTextMesh\WorldFeatureTextMesh_TextMeshPro.cs:105
  at RimWorld.Planet.WorldFeatures.UpdateAlpha (RimWorld.Planet.WorldFeatureTextMesh text, RimWorld.Planet.WorldFeature feature) [0x0003f] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\Planet\Features\WorldFeatures.cs:96
  at RimWorld.Planet.WorldFeatures.UpdateFeatures () [0x000a9] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\Planet\Features\WorldFeatures.cs:75
  at RimWorld.Planet.World.WorldUpdate () [0x00071] in C:\Dev\RimWorld\Assets\Scripts\RimWorld\Planet\World.cs:238
  at Verse.Root_Entry.Update () [0x0003c] in C:\Dev\RimWorld\Assets\Scripts\Verse\Global\Root\Root_Entry.cs:48
Verse.Log:Error(String, Boolean) (at C:\Dev\RimWorld\Assets\Scripts\Verse\Utility\Debug\Log\Log.cs:78)
Verse.Root_Entry:Update() (at C:\Dev\RimWorld\Assets\Scripts\Verse\Global\Root\Root_Entry.cs:55)


[attachment deleted due to age]
Title: Re: [1.0] World map doesn't show names composed from non-Latin symbols
Post by: Elevator on July 30, 2018, 04:42:19 AM
Update
Title: Re: [1.0] World map doesn't show names composed from non-Latin symbols
Post by: Elevator on September 11, 2018, 05:55:25 AM
The issue is still actual and keeps annoying players.
Title: Re: [1.0] World map doesn't show names composed from non-Latin symbols
Post by: Tynan on September 12, 2018, 06:44:32 AM
I do indeed think we should fix this.
Title: Re: [1.0] World map doesn't show names composed from non-Latin symbols
Post by: ison on September 13, 2018, 11:42:00 AM
Whoops, fixed, thanks. Though it looks like some names have numbers in them, I hope it's ok (just a paceholder?) https://i.imgur.com/GgclqaK.png
Title: Re: [1.0] World map doesn't show names composed from non-Latin symbols
Post by: Elevator on September 14, 2018, 06:00:49 PM
These names are just an example. I intentionnaly made both files here (Cyrillic and Latin) independent from anything else. For clean test purposes.
In current localization generated names are much more artistic and rich, as they are composed by more complex rules.
Title: Re: [1.0] World map doesn't show names composed from non-Latin symbols
Post by: Tynan on September 15, 2018, 02:06:18 AM
It's fixed so I'll lock it. Thanks.