Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Local resources are not loaded from the second scene on Android

Discussion in 'Localization Tools' started by hanjunghun, Jul 14, 2022.

  1. hanjunghun

    hanjunghun

    Joined:
    Aug 21, 2015
    Posts:
    2
    unity3d editor version : 2019.4.16f1
    target flatform : android
    package version : (addressables : 1.19.19) (Localization : 1.3.1)

    I am a developer developing in Korea.
    I am suffering because of this.
    Please reply. ㅜㅜ


    Symptom

    - There is no problem in 'use asset database of Play Lode Script'.
    - I'm having a problem with 'use Existing Build of Play Mode Script'.

    - There is no problem in the first scene.
    - table of Localization are not loading from the second scene.

    error sentence
    AssertionException: Assertion failure. Value was Null
    Expected: Value was not Null
    UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at <29ad182faa3f478c9310d6a2e7143c15>:0)
    UnityEngine.Assertions.Assert.IsNotNull (UnityEngine.Object value, System.String message) (at <29ad182faa3f478c9310d6a2e7143c15>:0)
    UnityEngine.Assertions.Assert.IsNotNull[T] (T value, System.String message) (at <29ad182faa3f478c9310d6a2e7143c15>:0)
    UnityEngine.Assertions.Assert.IsNotNull[T] (T value) (at <29ad182faa3f478c9310d6a2e7143c15>:0)
    UnityEngine.Localization.Tables.TableEntry.get_SharedEntry () (at Library/PackageCache/com.unity.localization@1.3.1/Runtime/Tables/DetailedLocalizationTable.cs:35)
    UnityEngine.Localization.GetTableEntryOperation`2[TTable,TEntry].HandleEntryOverride (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1[TObject] asyncOperation, TEntry entry) (at Library/PackageCache/com.unity.localization@1.3.1/Runtime/Operations/GetTableEntryOperation.cs:94)
    UnityEngine.Localization.GetTableEntryOperation`2[TTable,TEntry].ExtractEntryFromTable (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1[TObject] asyncOperation) (at Library/PackageCache/com.unity.localization@1.3.1/Runtime/Operations/GetTableEntryOperation.cs:70)
    UnityEngine.Localization.GetTableEntryOperation`2[TTable,TEntry].Execute () (at Library/PackageCache/com.unity.localization@1.3.1/Runtime/Operations/GetTableEntryOperation.cs:63)
    UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1[TObject].InvokeExecute () (at Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:469)
    UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1[TObject].Start (UnityEngine.ResourceManagement.ResourceManager rm, UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle dependency, DelegateList`1[T] updateCallbacks) (at Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/AsyncOperations/AsyncOperationBase.cs:464)
    UnityEngine.ResourceManagement.ResourceManager.StartOperation[TObject] (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationBase`1[TObject] operation, UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle dependency) (at Library/PackageCache/com.unity.addressables@1.19.19/Runtime/ResourceManager/ResourceManager.cs:452)
    UnityEngine.Localization.Settings.LocalizedDatabase`2[TTable,TEntry].GetTableEntryAsync (UnityEngine.Localization.Tables.TableReference tableReference, UnityEngine.Localization.Tables.TableEntryReference tableEntryReference, UnityEngine.Localization.Locale locale, UnityEngine.Localization.Settings.FallbackBehavior fallbackBehavior) (at Library/PackageCache/com.unity.localization@1.3.1/Runtime/Settings/Database/LocalizedDatabase.cs:516)
    UnityEngine.Localization.Settings.LocalizedAssetDatabase.GetLocalizedAssetAsyncInternal[TObject] (UnityEngine.Localization.Tables.TableReference tableReference, UnityEngine.Localization.Tables.TableEntryReference tableEntryReference, UnityEngine.Localization.Locale locale, UnityEngine.Localization.Settings.FallbackBehavior fallbackBehavior) (at Library/PackageCache/com.unity.localization@1.3.1/Runtime/Settings/Database/LocalizedAssetDatabase.cs:96)
    UnityEngine.Localization.Settings.LocalizedAssetDatabase.GetLocalizedAssetAsync[TObject] (UnityEngine.Localization.Tables.TableReference tableReference, UnityEngine.Localization.Tables.TableEntryReference tableEntryReference, UnityEngine.Localization.Locale locale, UnityEngine.Localization.Settings.FallbackBehavior fallbackBehavior) (at Library/PackageCache/com.unity.localization@1.3.1/Runtime/Settings/Database/LocalizedAssetDatabase.cs:69)
    UnityEngine.Localization.LocalizedAsset`1[TObject].LoadAssetAsync () (at Library/PackageCache/com.unity.localization@1.3.1/Runtime/Localized Reference/LocalizedAsset.cs:203)
    UnityEngine.Localization.LocalizedAsset`1[TObject].HandleLocaleChange (UnityEngine.Localization.Locale _) (at Library/PackageCache/com.unity.localization@1.3.1/Runtime/Localized Reference/LocalizedAsset.cs:292)
    UnityEngine.Localization.LocalizedAsset`1[TObject].ForceUpdate () (at Library/PackageCache/com.unity.localization@1.3.1/Runtime/Localized Reference/LocalizedAsset.cs:264)
    UnityEngine.Localization.LocalizedReference.ChangedThroughSerialization () (at Library/PackageCache/com.unity.localization@1.3.1/Runtime/Localized Reference/LocalizedReference.cs:192)
    UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at <7d90b28560b644ce87b8263efcc36eed>:0)
     
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    7,876
    I believe this is fixed in 1.3.2
     
  3. hanjunghun

    hanjunghun

    Joined:
    Aug 21, 2015
    Posts:
    2
    "thank very mach"
     
    karl_jones likes this.