Project

General

Profile

Bug #16477

1 Character Translation Illegal

Added by EthanWang706 over 6 years ago. Updated over 6 years ago.

Status:
Updated
Severity:
High
Assignee:
-
Category:
Application
Target version:
-
Start date:
11/09/2017
% Done:

10%

Version:
Platform:
Windows
Expansion:
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

If there is a single-character translation in Community Resources Pack, the game will get stuck and not respond (sometimes loading forever) when loading bundle definition. This should be because of some game's weird setting. Because the game won't crash, there is no crash log for this issue.

KSP.log (1 MB) KSP.log [email protected] EthanWang706, 11/14/2017 01:46 PM

History

#1 Updated by EthanWang706 over 6 years ago

A simple example is 水, it means water in Chinese, but if you have it in CRP Chinese localization, the game will loading forever.

#2 Updated by EthanWang706 over 6 years ago

  • Severity changed from Normal to High

#3 Updated by Squelch over 6 years ago

  • Status changed from New to Need More Info

Could you please attach your log files after an attempted start of the game? A crash report is not produced, but KSP.log and output_log.txt will contain important information. Information on where these files can be found is in our wiki

#4 Updated by EthanWang706 over 6 years ago

  • File KSP.log KSP.log added
  • Status changed from Need More Info to Updated
  • % Done changed from 0 to 10

Here is where it get stuck and pause loading.

#5 Updated by FreeThinker over 6 years ago

Correct, and the only relevant log message is

[EXC 21:43:04.423] ArgumentOutOfRangeException: startIndex + length > this.length
Parameter name: length
System.String.Substring (Int32 startIndex, Int32 length)
PartResourceDefinition.GetShortName (Int32 length)
PartResourceDefinition.Load (.ConfigNode node)
PartResourceDefinitionList.Add (.ConfigNode node)
PartResourceLibrary.LoadDefinitions ()
GameDatabase+<CreateDatabase>c__Iterator4B.MoveNext ()
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress)
[LOG 21:43:04.425] CodeAssetLoader: Compiling all code assets

This bugs will not occur if you extend the translation with a random character.

Strangly the problem does not occus in all instances of a sindle character translation.

Also available in: Atom PDF