Page 1 of 2

Localization Speaker Name problem

Posted: Sun Nov 06, 2022 7:34 am
by gaelgamesdev
Hello!

I have set up Unity's Localization package with DS and it seems to be working fine for the most part.

But I'm running into a problem where the Speaker Name uses the column from the previous language. EX:

I have

En
Name

Es
Nombre

Ja
名前


When the language is set to En, it will show nothing (because there's no previous column)
When the language is set to Es, it will show "Name"
When the language is set to Ja, it will show "Nombre".

Any ideas on what might be causing this issue?

The speaker name and subtitle text are set up in the exact same way and the subtitle text works correctly.

Thank you!

Re: Localization Speaker Name problem

Posted: Sun Nov 06, 2022 8:42 am
by Tony Li
Hi,

The Dialogue System Extras page has an updated integration package for Unity's Localization Package. If you download and import the updated package, it should fix the issue.

Re: Localization Speaker Name problem

Posted: Tue Nov 08, 2022 1:44 am
by gaelgamesdev
Hello,

Thank you for your reply.

I am already using the latest version (DS_LocalizationPackageSupport_2022-10-09), but the issue persists.

Is there anything I can change to fix it?

Thanks!

Re: Localization Speaker Name problem

Posted: Tue Nov 08, 2022 8:38 am
by Tony Li
Would you please send a reproduction project to tony (at) pixelcrushers.com?

Re: Localization Speaker Name problem

Posted: Tue Nov 08, 2022 8:46 am
by gaelgamesdev
I am so sorry, but I cannot share this project.

Re: Localization Speaker Name problem

Posted: Tue Nov 08, 2022 9:05 am
by Tony Li
I fixed an issue. The updated Localization Package integration is on the Dialogue System Extras page. It should fix the name problem.

Re: Localization Speaker Name problem

Posted: Wed Nov 09, 2022 4:08 am
by gaelgamesdev
The latest version seems to have fixed the issue! thank you very much! :D

Re: Localization Speaker Name problem

Posted: Wed Nov 09, 2022 8:06 am
by Tony Li
Glad to help!

Re: Localization Speaker Name problem

Posted: Fri Nov 11, 2022 8:41 am
by gaelgamesdev
Hello!

Just a head up! Even though things seem to be working, I'm getting this null error when I update the localization table from Unity's Localization package.

Code: Select all

NullReferenceException: Object reference not set to an instance of an object
PixelCrushers.DialogueSystem.DialogueSystemController.get_masterDatabase () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Manager/DialogueSystemController.cs:199)
PixelCrushers.DialogueSystem.DialogueManager.get_masterDatabase () (at Assets/Plugins/Pixel Crushers/Dialogue System/Scripts/Manager/DialogueManager.cs:63)
PixelCrushers.DialogueSystem.LocalizationPackageSupport.DialogueSystemLocalizationPackageBridge.UpdateActorDisplayNames () (at Assets/Pixel Crushers/Dialogue System/Third Party Support/Localization Package Support/Scripts/DialogueSystemLocalizationPackageBridge.cs:57)
PixelCrushers.DialogueSystem.LocalizationPackageSupport.DialogueSystemLocalizationPackageBridge.OnSelectedLocaleChanged (UnityEngine.Localization.Locale obj) (at Assets/Pixel Crushers/Dialogue System/Third Party Support/Localization Package Support/Scripts/DialogueSystemLocalizationPackageBridge.cs:49)
UnityEngine.Localization.Settings.LocalizationSettings.InvokeSelectedLocaleChanged (UnityEngine.Localization.Locale locale) (at Library/PackageCache/com.unity.localization@1.4.2/Runtime/Settings/LocalizationSettings.cs:456)
UnityEditor.EditorApplication:Internal_CallDelayFunctions()
I'll leave it here in case you need to have a look at it.

Cheers!

Re: Localization Speaker Name problem

Posted: Fri Nov 11, 2022 10:07 am
by Tony Li
Hi,

Please try this patch:

DS_LocalizationPackageSupport_2022-11-11.unitypackage

You may need to restart the Unity editor once after importing the patch.