Search Unity

Resolved ArgumentNullException: Value cannot be null. on iOS device

Discussion in 'Localization Tools' started by bottledgalaxy, Jul 17, 2020.

  1. bottledgalaxy

    bottledgalaxy

    Joined:
    Jul 19, 2019
    Posts:
    85
    So I've been working on my localization and everything was fine and dandy on the Editor, I have no compiled my game into an iOS device and I'm seeing this error for each string that the screen is trying to show localized.

    Code (csharp):
    1. ArgumentNullException: Value cannot be null.
    2.  
    3. Parameter name: locale
    4.  
    5.   at UnityEngine.Localization.Settings.LocalizedDatabase`2[TTable,TEntry].GetTableAsync (UnityEngine.Localization.Tables.TableReference tableReference, UnityEngine.Localization.Locale locale) [0x00000] in <00000000000000000000000000000000>:0
    6.  
    7.   at UnityEngine.Localization.Settings.LocalizedDatabase`2[TTable,TEntry].GetTableEntryAsync (UnityEngine.Localization.Tables.TableReference tableReference, UnityEngine.Localization.Tables.TableEntryReference tableEntryReference, UnityEngine.Localization.Locale locale) [0x00000] in <00000000000000000000000000000000>:0
    8.  
    9.   at UnityEngine.Localization.Settings.LocalizedDatabase`2[TTable,TEntry].GetTableEntryAsync (UnityEngine.Localization.Tables.TableReference tableReference, UnityEngine.Localization.Tables.TableEntryReference tableEntryReference) [0x00000] in <00000000000000000000000000000000>:0
    10.  
    11.   at UnityEngine.Localization.LocalizedString.HandleLocaleChange (UnityEngine.Localization.Locale _) [0x00000] in <00000000000000000000000000000000>:0
    I did build the Addressable Groups before building the app itself.

    I also tried putting this on Start in one of the gameObjects:

    Code (CSharp):
    1. Debug.Log(Application.systemLanguage);
    2. Debug.Log(CultureInfo.CurrentUICulture);
    And I get back


    English
    en-US


    Any thoughts?

    Thanks!
     
  2. bottledgalaxy

    bottledgalaxy

    Joined:
    Jul 19, 2019
    Posts:
    85
    Hey @karl_jones, sorry to drag you here, but you've been so helpful on my other posts... Any idea what's going on here?
    Thank you!
     
  3. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
    Oh sorry I missed the last message.
    That error indicates that the selected locale is null. This is likely due to how you are picking what locale to use, through the locale selectors. It must not be finding a suitable locale. Can you share the log file?
    It could also be that there is no locales which would indicate an Addressables issue. Try getting the available locales in a script to see if it's loading them.
     
  4. bottledgalaxy

    bottledgalaxy

    Joined:
    Jul 19, 2019
    Posts:
    85
    I'm sorry, does this package not detect the phone's locale automatically? I don't intend the user to select the language, just to use the phone's language...

    What log file would you be needing exactly? I did share what the output of those 2 lines were, and it does look like it's returning what's intended..

    What do you mean by "Try getting the available locales in a script"?

    Thank you!
     
  5. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
  6. bottledgalaxy

    bottledgalaxy

    Joined:
    Jul 19, 2019
    Posts:
    85

    Attached Files:

  7. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
    Hmm so it should be picking the English Locale.
    Can you share the log file from the player? http://docs.unity3d.com/Manual/LogFiles.html

    Also try creating a script and printing out the locales that have been loaded:

    Code (csharp):
    1.  
    2.     IEnumerator Start()
    3.     {
    4.         yield return LocalizationSettings.InitializationOperation;
    5.  
    6.         Debug.Log($"Loaded {LocalizationSettings.AvailableLocales.Locales.Count} locales. Active locale {LocalizationSettings.SelectedLocale}");
    7.     }
     
  8. bottledgalaxy

    bottledgalaxy

    Joined:
    Jul 19, 2019
    Posts:
    85
    I'm not sure how to get them. It says on iOS to get them by "Access the device log in XCode via the GDB console or the Organizer Console". But I don't know what the GDB console is, and on the Organizer console I can only get crash logs for a device. There are no common logs...
     
  9. bottledgalaxy

    bottledgalaxy

    Joined:
    Jul 19, 2019
    Posts:
    85
    I missed the code snippet you shared yesterday.

    I implemented this:

    Code (CSharp):
    1.         async void Start()
    2.         {
    3.             Debug.Log($"Initializing LocalizationSettings");
    4.             Debug.Log(Application.systemLanguage);
    5.             Debug.Log(CultureInfo.CurrentUICulture);
    6.             // Wait for the localization system to initialize, loading Locales, preloading etc.
    7.             await LocalizationSettings.InitializationOperation.Task;
    8.             Debug.Log($"Loaded {LocalizationSettings.AvailableLocales.Locales.Count} locales. Active locale {LocalizationSettings.SelectedLocale}");
    9.             LocalizationSettings.Instance.OnSelectedLocaleChanged += ChangedLocale;
    10.             ChangedLocale(null);
    11.         }
    On the Unity Player I get this:

    Initializing LocalizationSettings
    English
    en-US
    The Locale 'en-US' is not available, however the parent locale 'en' is available.
    Loaded 2 locales. Active locale English (en)

    On iOS I only get this:
    Initializing LocalizationSettings
    English
    en-US


    I never see the Loaded part.

    I think I was able to find the logs as well. Here are the full iOS Logs from starting the build until that code is called. Hope it helps:
    Code (csharp):
    1.  
    2.  
    3. Refresh completed in 0.047826 seconds.
    4. RefreshInfo: RefreshV2(AllowForceSynchronousImport) scanfilter:
    5. RefreshProfiler: Total: 47.816ms
    6. Copying Addressables data from Library/com.unity.addressables/StreamingAssetsCopy/aa/iOS to /Users/jan/Projects/Unity/Orbital/Assets/StreamingAssets/aa/iOS.  These copies will be deleted at the end of the build.
    7.  
    8. Start importing ProjectSettings/ProjectSettings.asset using Guid(00000000000000004000000000000000) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '543440fc5b7e214ab666a5feb81ab9fd') in 0.002583 seconds
    9. Refreshing native plugins compatible for Editor in 0.64 ms, found 3 plugins.
    10. Preloading 0 native plugins for Editor in 0.00 ms.
    11. RefreshInfo: StopAssetImportingV2(NoUpdateAssetOptions) scanfilter:
    12. RefreshProfiler: Total: 50.962ms
    13. [ScriptCompilation] Recompiling all scripts because: Recompiling scripts for player build.
    14. BuildPlayer: start building target 9
    15. - Starting script compilation
    16. - Starting compile Library/PlayerScriptAssemblies/UnityEngine.TestRunner.dll
    17. - Starting compile Library/PlayerScriptAssemblies/UnityEngine.UI.dll
    18. - Finished compile Library/PlayerScriptAssemblies/UnityEngine.TestRunner.dll in 1.94077 seconds
    19. - Finished compile Library/PlayerScriptAssemblies/UnityEngine.UI.dll in 1.912812 seconds
    20. - Starting compile Library/PlayerScriptAssemblies/NativeShare.Runtime.dll
    21. - Starting compile Library/PlayerScriptAssemblies/Unity.Timeline.dll
    22. - Starting compile Library/PlayerScriptAssemblies/Unity.TextMeshPro.dll
    23. - Starting compile Library/PlayerScriptAssemblies/UnityEngine.Advertisements.dll
    24. - Starting compile Library/PlayerScriptAssemblies/Unity.ResourceManager.dll
    25. - Starting compile Library/PlayerScriptAssemblies/UnityEngine.SpatialTracking.dll
    26. - Starting compile Library/PlayerScriptAssemblies/Unity.Analytics.DataPrivacy.dll
    27. - Starting compile Library/PlayerScriptAssemblies/com.unity.multiplayer-hlapi.Runtime.dll
    28. - Starting compile Library/PlayerScriptAssemblies/UIEffect.dll
    29. - Starting compile Library/PlayerScriptAssemblies/Unity.ScriptableBuildPipeline.dll
    30. - Finished compile Library/PlayerScriptAssemblies/NativeShare.Runtime.dll in 0.50968 seconds
    31. - Finished compile Library/PlayerScriptAssemblies/UnityEngine.Advertisements.dll in 0.382913 seconds
    32. - Starting compile Library/PlayerScriptAssemblies/UnityEngine.Monetization.dll
    33. - Finished compile Library/PlayerScriptAssemblies/Unity.Timeline.dll in 0.556378 seconds
    34. - Finished compile Library/PlayerScriptAssemblies/UnityEngine.SpatialTracking.dll in 0.401248 seconds
    35. - Starting compile Library/PlayerScriptAssemblies/UnityEngine.XR.LegacyInputHelpers.dll
    36. - Finished compile Library/PlayerScriptAssemblies/Unity.Analytics.DataPrivacy.dll in 0.421297 seconds
    37. - Finished compile Library/PlayerScriptAssemblies/Unity.ResourceManager.dll in 0.554671 seconds
    38. - Starting compile Library/PlayerScriptAssemblies/Unity.Addressables.dll
    39. - Finished compile Library/PlayerScriptAssemblies/Unity.ScriptableBuildPipeline.dll in 0.366776 seconds
    40. - Finished compile Library/PlayerScriptAssemblies/UIEffect.dll in 0.474809 seconds
    41. - Finished compile Library/PlayerScriptAssemblies/UnityEngine.Monetization.dll in 0.333135 seconds
    42. - Finished compile Library/PlayerScriptAssemblies/UnityEngine.XR.LegacyInputHelpers.dll in 0.276415 seconds
    43. - Finished compile Library/PlayerScriptAssemblies/com.unity.multiplayer-hlapi.Runtime.dll in 0.662713 seconds
    44. - Finished compile Library/PlayerScriptAssemblies/Unity.TextMeshPro.dll in 1.00511 seconds
    45. - Starting compile Library/PlayerScriptAssemblies/Elringus.BlendModes.Runtime.dll
    46. - Finished compile Library/PlayerScriptAssemblies/Unity.Addressables.dll in 0.373484 seconds
    47. - Starting compile Library/PlayerScriptAssemblies/Unity.Localization.dll
    48. - Finished compile Library/PlayerScriptAssemblies/Elringus.BlendModes.Runtime.dll in 0.249398 seconds
    49. - Finished compile Library/PlayerScriptAssemblies/Unity.Localization.dll in 0.325949 seconds
    50. - Starting compile Library/PlayerScriptAssemblies/Nodeshifter.dll
    51. - Finished compile Library/PlayerScriptAssemblies/Nodeshifter.dll in 0.259801 seconds
    52. - Starting compile Library/PlayerScriptAssemblies/Assembly-CSharp-firstpass.dll
    53. - Finished compile Library/PlayerScriptAssemblies/Assembly-CSharp-firstpass.dll in 0.335536 seconds
    54. - Starting compile Library/PlayerScriptAssemblies/Assembly-CSharp.dll
    55. - Finished compile Library/PlayerScriptAssemblies/Assembly-CSharp.dll in 0.544736 seconds
    56. - Finished script compilation in 4.841813 seconds
    57. Assets/Scripts/LevelManager.cs(123,13): warning CS0618: 'UnityWebRequest.isNetworkError' is obsolete: 'UnityWebRequest.isNetworkError is deprecated. Use (UnityWebRequest.result == UnityWebRequest.Result.ConnectionError) instead.'
    58.  
    59. Assets/Scripts/LevelManager.cs(123,35): warning CS0618: 'UnityWebRequest.isHttpError' is obsolete: 'UnityWebRequest.isHttpError is deprecated. Use (UnityWebRequest.result == UnityWebRequest.Result.ProtocolError) instead.'
    60.  
    61. Assets/unity-ui-extensions/Examples/FancyScrollView/02_CellEventHandling/Example02ScrollView.cs(8,28): warning CS0649: Field 'Example02ScrollView.scrollPositionController' is never assigned to, and will always have its default value null
    62.  
    63. Assets/unity-ui-extensions/Examples/FancyScrollView/02_CellEventHandling/Example02ScrollViewCell.cs(7,18): warning CS0649: Field 'Example02ScrollViewCell.animator' is never assigned to, and will always have its default value null
    64.  
    65. Assets/unity-ui-extensions/Examples/FancyScrollView/01_Basic/Example01ScrollViewCell.cs(8,14): warning CS0649: Field 'Example01ScrollViewCell.message' is never assigned to, and will always have its default value null
    66.  
    67. Assets/unity-ui-extensions/Examples/FancyScrollView/03_InfiniteScroll/Example03ScrollView.cs(8,34): warning CS0649: Field 'Example03ScrollView.scrollPositionController' is never assigned to, and will always have its default value null
    68.  
    69. Assets/unity-ui-extensions/Scripts/Layout/FancyScrollView.cs(13,15): warning CS0649: Field 'FancyScrollView<TData, TContext>.cellOffset' is never assigned to, and will always have its default value 0
    70.  
    71. Assets/unity-ui-extensions/Scripts/Layout/FancyScrollView.cs(15,14): warning CS0649: Field 'FancyScrollView<TData, TContext>.loop' is never assigned to, and will always have its default value false
    72.  
    73. Assets/unity-ui-extensions/Scripts/Utilities/PaginationManager.cs(15,32): warning CS0649: Field 'PaginationManager.scrollSnap' is never assigned to, and will always have its default value null
    74.  
    75. Assets/unity-ui-extensions/Scripts/Controls/ComboBox/DropDownListItem.cs(81,25): warning CS0649: Field 'DropDownListItem.OnUpdate' is never assigned to, and will always have its default value null
    76.  
    77. Assets/unity-ui-extensions/Scripts/Utilities/ScrollRectLinker.cs(14,20): warning CS0649: Field 'ScrollRectLinker.controllingScrollRect' is never assigned to, and will always have its default value null
    78.  
    79. Assets/unity-ui-extensions/Examples/FancyScrollView/02_CellEventHandling/Example02ScrollViewCell.cs(9,14): warning CS0649: Field 'Example02ScrollViewCell.message' is never assigned to, and will always have its default value null
    80.  
    81. Assets/unity-ui-extensions/Examples/FancyScrollView/01_Basic/Example01ScrollViewCell.cs(6,18): warning CS0649: Field 'Example01ScrollViewCell.animator' is never assigned to, and will always have its default value null
    82.  
    83. Assets/unity-ui-extensions/Scripts/Layout/ScrollPositionController.cs(43,17): warning CS0649: Field 'ScrollPositionController.viewport' is never assigned to, and will always have its default value null
    84.  
    85. Assets/Simple Scroll-Snap/Examples/Example 6 (3D Shape Selection)/Scripts/Rotator.cs(7,40): warning CS0649: Field 'Rotator.rotationSpeed' is never assigned to, and will always have its default value 0
    86.  
    87. Assets/unity-ui-extensions/Examples/FancyScrollView/02_CellEventHandling/Example02ScrollViewCell.cs(13,16): warning CS0649: Field 'Example02ScrollViewCell.button' is never assigned to, and will always have its default value null
    88.  
    89. Assets/unity-ui-extensions/Scripts/Utilities/UIScrollToSelectionXY.cs(25,31): warning CS0649: Field 'UIScrollToSelectionXY.layoutListGroup' is never assigned to, and will always have its default value null
    90.  
    91. Assets/unity-ui-extensions/Scripts/Utilities/UIScrollToSelection.cs(21,28): warning CS0649: Field 'UIScrollToSelection.scrollDirection' is never assigned to, and will always have its default value
    92.  
    93. Assets/unity-ui-extensions/Examples/FancyScrollView/03_InfiniteScroll/Example03Scene.cs(8,29): warning CS0649: Field 'Example03Scene.scrollView' is never assigned to, and will always have its default value null
    94.  
    95. Assets/unity-ui-extensions/Examples/FancyScrollView/01_Basic/Example01ScrollView.cs(8,34): warning CS0649: Field 'Example01ScrollView.scrollPositionController' is never assigned to, and will always have its default value null
    96.  
    97. Assets/unity-ui-extensions/Examples/FancyScrollView/03_InfiniteScroll/Example03ScrollViewCell.cs(9,14): warning CS0649: Field 'Example03ScrollViewCell.message' is never assigned to, and will always have its default value null
    98.  
    99. Assets/unity-ui-extensions/Examples/FancyScrollView/03_InfiniteScroll/Example03ScrollViewCell.cs(11,15): warning CS0649: Field 'Example03ScrollViewCell.image' is never assigned to, and will always have its default value null
    100.  
    101. Assets/unity-ui-extensions/Examples/FancyScrollView/02_CellEventHandling/Example02Scene.cs(8,29): warning CS0649: Field 'Example02Scene.scrollView' is never assigned to, and will always have its default value null
    102.  
    103. Assets/unity-ui-extensions/Scripts/Layout/FancyScrollView.cs(17,20): warning CS0649: Field 'FancyScrollView<TData, TContext>.cellBase' is never assigned to, and will always have its default value null
    104.  
    105. Assets/unity-ui-extensions/Examples/FancyScrollView/03_InfiniteScroll/Example03ScrollViewCell.cs(7,18): warning CS0649: Field 'Example03ScrollViewCell.animator' is never assigned to, and will always have its default value null
    106.  
    107. Assets/unity-ui-extensions/Examples/FancyScrollView/03_InfiniteScroll/Example03ScrollViewCell.cs(13,16): warning CS0649: Field 'Example03ScrollViewCell.button' is never assigned to, and will always have its default value null
    108.  
    109. Assets/unity-ui-extensions/Examples/FancyScrollView/02_CellEventHandling/Example02ScrollViewCell.cs(11,15): warning CS0649: Field 'Example02ScrollViewCell.image' is never assigned to, and will always have its default value null
    110.  
    111. Assets/unity-ui-extensions/Scripts/Layout/FancyScrollView.cs(11,15): warning CS0649: Field 'FancyScrollView<TData, TContext>.cellInterval' is never assigned to, and will always have its default value 0
    112.  
    113. Assets/unity-ui-extensions/Examples/FancyScrollView/01_Basic/Example01Scene.cs(8,29): warning CS0649: Field 'Example01Scene.scrollView' is never assigned to, and will always have its default value null
    114.  
    115. Assets/Scripts/Enemy.cs(64,19): warning CS0414: The field 'Enemy.waitRate' is assigned but its value is never used
    116.  
    117. Assets/Scripts/Effects/FrozenEffect.cs(12,19): warning CS0414: The field 'FrozenEffect.alpha' is assigned but its value is never used
    118.  
    119. Assets/Scripts/FPSDisplay.cs(6,11): warning CS0414: The field 'FPSDisplay.deltaTime' is assigned but its value is never used
    120.  
    121. Assets/Scripts/Enemy.cs(63,19): warning CS0414: The field 'Enemy.waitTime' is assigned but its value is never used
    122.  
    123. Assets/Scripts/Enemy.cs(70,19): warning CS0414: The field 'Enemy.period' is assigned but its value is never used
    124.  
    125. Assets/Scripts/Enemy.cs(69,19): warning CS0414: The field 'Enemy.amplitude' is assigned but its value is never used
    126.  
    127. Assets/Scripts/Effects/InvincibleEffect.cs(12,19): warning CS0414: The field 'InvincibleEffect.alpha' is assigned but its value is never used
    128.  
    129. Assets/Standard Assets/Utility/TimedObjectDestructor.cs(24,13): warning CS0618: 'Object.DestroyObject(Object)' is obsolete: 'use Object.Destroy instead.'
    130.  
    131. Assets/Standard Assets/Utility/ActivateTrigger.cs(57,33): warning CS0618: 'Object.DestroyObject(Object)' is obsolete: 'use Object.Destroy instead.'
    132.  
    133. Assets/Standard Assets/Utility/WaypointProgressTracker.cs(14,50): warning CS0649: Field 'WaypointProgressTracker.circuit' is never assigned to, and will always have its default value null
    134.  
    135. Assets/Standard Assets/Utility/PlatformSpecificContent.cs(25,34): warning CS0649: Field 'PlatformSpecificContent.m_BuildTargetGroup' is never assigned to, and will always have its default value
    136.  
    137. Assets/Standard Assets/Utility/SmoothFollow.cs(21,17): warning CS0649: Field 'SmoothFollow.heightDamping' is never assigned to, and will always have its default value 0
    138.  
    139. Assets/Standard Assets/Utility/AutoMobileShaderSwitch.cs(12,50): warning CS0649: Field 'AutoMobileShaderSwitch.m_ReplacementList' is never assigned to, and will always have its default value null
    140.  
    141. Assets/Standard Assets/Utility/SmoothFollow.cs(10,21): warning CS0649: Field 'SmoothFollow.target' is never assigned to, and will always have its default value null
    142.  
    143. Assets/Standard Assets/Utility/SmoothFollow.cs(19,17): warning CS0649: Field 'SmoothFollow.rotationDamping' is never assigned to, and will always have its default value 0
    144.  
    145. Assets/Standard Assets/Utility/PlatformSpecificContent.cs(31,22): warning CS0649: Field 'PlatformSpecificContent.m_ChildrenOfThisObject' is never assigned to, and will always have its default value false
    146.  
    147. Start importing Assets/StreamingAssets/aa/iOS using Guid(7bbab54ec2df740efbb46ca4f5ac1b0c) Importer(-1,00000000000000000000000000000000)  -> (artifact id: 'd496d720aca7896c3c76b5a87b85165c') in 0.003038 seconds
    148. Start importing Assets/StreamingAssets/aa/iOS/link.xml using Guid(528b19d95375e48a8a8afcbad00b9749) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '0735c7c8f066977db42c99318e7d7e8b') in 0.006420 seconds
    149. Start importing Assets/StreamingAssets/aa/iOS/settings.json using Guid(c4557bb3a02884d208b5e390666cae36) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '00a0ed44b47488a448b42dbb36ad4cd5') in 0.003433 seconds
    150. Start importing Assets/StreamingAssets/aa/iOS/catalog.json using Guid(0d5ed2187f4ce4816b3f1e7b3e6fdf90) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '2f3d695cab5cc7bee53e1abc73154f5e') in 0.003022 seconds
    151. Start importing Assets/StreamingAssets/aa/iOS/iOS using Guid(bffefff59c0e94f5f92bcffefd15e28e) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '51a53b4f19107276f236fdf2c14af4d9') in 0.002090 seconds
    152. Start importing Assets/StreamingAssets/aa/iOS/iOS/localization-assets-es_assets_all.bundle using Guid(c0d787a1c7e1a4a16962564eb3223faf) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '1aaa0a8b5628cc8ccf38ba541f7b7202') in 0.004598 seconds
    153. Start importing Assets/StreamingAssets/aa/iOS/iOS/localization-stringtables_assets_all.bundle using Guid(8267db135ce9146c390c259b7308af8c) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '1aa49484475035365d0ccb9e8cab8036') in 0.003139 seconds
    154. Start importing Assets/StreamingAssets/aa/iOS/iOS/localization-assettables_assets_all.bundle using Guid(6e6208326e9e944b7a228e7bac1f7878) Importer(-1,00000000000000000000000000000000)  -> (artifact id: 'd4b6c7fb1de8c879a5a4ff8f7d55bd3c') in 0.002516 seconds
    155. Start importing Assets/StreamingAssets/aa/iOS/iOS/localization-assets-shared_assets_all.bundle using Guid(fe23e2fa495d14906b3de9254bceb443) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '73d1cca35f2e3f40039e43ca64ec24c5') in 0.004039 seconds
    156. Start importing Assets/StreamingAssets/aa/iOS/iOS/localization-assets-en_assets_all.bundle using Guid(3fa562291e5ef47a780c85f7fa976ae5) Importer(-1,00000000000000000000000000000000)  -> (artifact id: '945e6ecd8390fe43bff43114f5a83e35') in 0.003779 seconds
    157. Refreshing native plugins compatible for Editor in 0.71 ms, found 3 plugins.
    158. Preloading 0 native plugins for Editor in 0.00 ms.
    159. Refresh completed in 0.588304 seconds.
    160. RefreshInfo: RefreshV2(NoUpdateAssetOptions) scanfilter:
    161. RefreshProfiler: Total: 588.294ms
    162.     InvokeBeforeRefreshCallbacks: 0.001ms
    163.     ApplyChangesToAssetFolders: 0.079ms
    164.     Scan: 55.670ms
    165.     OnSourceAssetsModified: 1.512ms
    166.     InitializeImportedAssetsSnapshot: 5.971ms
    167.     GetAllGuidsForCategorization: 0.247ms
    168.     CategorizeAssets: 42.603ms
    169.     ImportAndPostprocessOutOfDateAssets: 470.256ms (17.020ms without children)
    170.         ImportManagerImport: 40.460ms (1.752ms without children)
    171.             ImportInProcess: 38.647ms
    172.             UpdateCategorizedAssets: 0.061ms
    173.         PostProcessAllAssets: 400.093ms
    174.         ReloadImportedAssets: 0.005ms
    175.         EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.557ms
    176.         InitializingProgressBar: 6.203ms
    177.         PostProcessAllAssetNotificationsAddChangedAssets: 0.306ms
    178.         OnDemandSchedulerStart: 0.308ms
    179.         RestoreLoadedAssetsState: 1.860ms
    180.     UpdateImportedAssetsSnapshot: 3.444ms
    181.     ReloadSourceAssets: 1.075ms
    182.     UnloadImportedAssets: 0.140ms
    183.     Hotreload: 4.573ms
    184.     FixTempGuids: 0.004ms
    185.     GatherAllCurrentPrimaryArtifactRevisions: 0.141ms
    186.     UnloadStreamsBegin: 0.249ms
    187.     LoadedImportedAssetsSnapshotReleaseGCHandles: 0.831ms
    188.     GetLoadedSourceAssetsSnapshot: 3.641ms
    189.     PersistCurrentRevisions: 0.268ms
    190.     UnloadStreamsEnd: 0.110ms
    191.     Untracked: 0.923ms
    192. Opening scene 'Temp/__Backupscenes/0.backup'
    193. LightingSettings: switching bake backend from 1 to 0.
    194. Unloading 2 Unused Serialized files (Serialized files now loaded: 0)
    195. Loaded scene 'Temp/__Backupscenes/0.backup'
    196.     Deserialize:            3.035 ms
    197.     Integration:            30.773 ms
    198.     Integration of assets:  0.013 ms
    199.     Thread Wait Time:       17.275 ms
    200.     Total Operation Time:   51.095 ms
    201. System memory in use before: 0.67 GB.
    202. System memory in use after: 0.67 GB.
    203.  
    204. Unloading 80 unused Assets to reduce memory usage. Loaded Objects now: 4439.
    205. Total: 106.474549 ms (FindLiveObjects: 0.647585 ms CreateObjectMapping: 0.175934 ms MarkObjects: 105.192239 ms  DeleteObjects: 0.458100 ms)
    206.  
    207. [00:00:00] Enlighten: Precompute started.
    208. [PathTracer] building lightmap data asset.
    209. [00:00:00] Enlighten: Finished 1 Layout Systems job (0.00s execute, 0.00s integrate, 0.02s wallclock)
    210. [00:00:00] Enlighten: Finished 1 Tetrahedralize Probes job (0.00s execute, 0.00s integrate, 0.01s wallclock)
    211. [00:00:00] Enlighten: Precompute took 0.031024 seconds.
    212. Enlighten scene contents:   0 geometries.   0 instances.   0 systems.   0 probe groups.   0 cube maps. Scene is up-to-date.
    213. > Collecting Enlighten data
    214. Opening scene 'Assets/Scenes/Settings.unity'
    215. Unloading 192 Unused Serialized files (Serialized files now loaded: 0)
    216. LightingSettings: switching bake backend from 1 to 0.
    217. Loaded scene 'Assets/Scenes/Settings.unity'
    218.     Deserialize:            5.743 ms
    219.     Integration:            25.494 ms
    220.     Integration of assets:  0.004 ms
    221.     Thread Wait Time:       14.955 ms
    222.     Total Operation Time:   46.197 ms
    223. System memory in use before: 1.10 GB.
    224. System memory in use after: 1.07 GB.
    225.  
    226. Unloading 1006 unused Assets to reduce memory usage. Loaded Objects now: 4408.
    227. Total: 100.435989 ms (FindLiveObjects: 0.928743 ms CreateObjectMapping: 0.307996 ms MarkObjects: 92.977065 ms  DeleteObjects: 6.221583 ms)
    228.  
    229. [00:00:00] Enlighten: Precompute started.
    230. [PathTracer] building lightmap data asset.
    231. [00:00:00] Enlighten: Finished 1 Layout Systems job (0.00s execute, 0.00s integrate, 0.01s wallclock)
    232. [00:00:00] Enlighten: Finished 1 Tetrahedralize Probes job (0.00s execute, 0.00s integrate, 0.01s wallclock)
    233. [00:00:00] Enlighten: Precompute took 0.020317 seconds.
    234. Enlighten scene contents:   0 geometries.   0 instances.   0 systems.   0 probe groups.   0 cube maps. Scene is up-to-date.
    235. > Collecting Enlighten data
    236. Opening scene 'Assets/Scenes/Game.unity'
    237. Unloading 43 Unused Serialized files (Serialized files now loaded: 0)
    238. LightingSettings: switching bake backend from 1 to 0.
    239. ProgressiveSceneManager::Cancel()
    240. [00:00:00] Enlighten: Reflection Probes took 900.359558 seconds. Cancelled, so not done yet.
    241. [00:00:00] Enlighten: LightingDataAsset took 899.827683 seconds. Cancelled, so not done yet.
    242. Loaded scene 'Assets/Scenes/Game.unity'
    243.     Deserialize:            162.842 ms
    244.     Integration:            94.278 ms
    245.     Integration of assets:  48.556 ms
    246.     Thread Wait Time:       21.686 ms
    247.     Total Operation Time:   327.361 ms
    248. System memory in use before: 0.69 GB.
    249. System memory in use after: 0.69 GB.
    250.  
    251. Unloading 4 unused Assets to reduce memory usage. Loaded Objects now: 5572.
    252. Total: 104.611332 ms (FindLiveObjects: 0.893746 ms CreateObjectMapping: 0.240871 ms MarkObjects: 103.453109 ms  DeleteObjects: 0.022708 ms)
    253.  
    254. Opening scene 'Assets/Scenes/Profile.unity'
    255. Unloading 87 Unused Serialized files (Serialized files now loaded: 0)
    256. LightingSettings: switching bake backend from 1 to 0.
    257. Loaded scene 'Assets/Scenes/Profile.unity'
    258.     Deserialize:            10.195 ms
    259.     Integration:            32.506 ms
    260.     Integration of assets:  0.131 ms
    261.     Thread Wait Time:       21.803 ms
    262.     Total Operation Time:   64.634 ms
    263. System memory in use before: 0.70 GB.
    264. System memory in use after: 0.70 GB.
    265.  
    266. Unloading 175 unused Assets to reduce memory usage. Loaded Objects now: 4651.
    267. Total: 92.993549 ms (FindLiveObjects: 0.629801 ms CreateObjectMapping: 0.134673 ms MarkObjects: 91.725536 ms  DeleteObjects: 0.502901 ms)
    268.  
    269. Opening scene 'Assets/Scenes/Store.unity'
    270. Unloading 18 Unused Serialized files (Serialized files now loaded: 0)
    271. LightingSettings: switching bake backend from 1 to 0.
    272. Loaded scene 'Assets/Scenes/Store.unity'
    273.     Deserialize:            16.728 ms
    274.     Integration:            25.251 ms
    275.     Integration of assets:  0.234 ms
    276.     Thread Wait Time:       13.660 ms
    277.     Total Operation Time:   55.874 ms
    278. System memory in use before: 0.68 GB.
    279. System memory in use after: 0.68 GB.
    280.  
    281. Unloading 88 unused Assets to reduce memory usage. Loaded Objects now: 4354.
    282. Total: 96.077433 ms (FindLiveObjects: 1.079409 ms CreateObjectMapping: 0.205497 ms MarkObjects: 94.313053 ms  DeleteObjects: 0.478137 ms)
    283.  
    284. Opening scene 'Assets/Scenes/WarpDrive.unity'
    285. Unloading 12 Unused Serialized files (Serialized files now loaded: 0)
    286. LightingSettings: switching bake backend from 1 to 0.
    287. Loaded scene 'Assets/Scenes/WarpDrive.unity'
    288.     Deserialize:            6.233 ms
    289.     Integration:            25.260 ms
    290.     Integration of assets:  0.884 ms
    291.     Thread Wait Time:       15.054 ms
    292.     Total Operation Time:   47.432 ms
    293. System memory in use before: 0.66 GB.
    294. System memory in use after: 0.66 GB.
    295.  
    296. Unloading 37 unused Assets to reduce memory usage. Loaded Objects now: 4400.
    297. Total: 95.529635 ms (FindLiveObjects: 0.743811 ms CreateObjectMapping: 0.263354 ms MarkObjects: 94.422199 ms  DeleteObjects: 0.099256 ms)
    298.  
    299. Opening scene 'Assets/Scenes/Credits.unity'
    300. Unloading 27 Unused Serialized files (Serialized files now loaded: 0)
    301. LightingSettings: switching bake backend from 1 to 0.
    302. Loaded scene 'Assets/Scenes/Credits.unity'
    303.     Deserialize:            14.825 ms
    304.     Integration:            93.184 ms
    305.     Integration of assets:  0.115 ms
    306.     Thread Wait Time:       16.908 ms
    307.     Total Operation Time:   125.031 ms
    308. System memory in use before: 0.67 GB.
    309. System memory in use after: 0.67 GB.
    310.  
    311. Unloading 97 unused Assets to reduce memory usage. Loaded Objects now: 4418.
    312. Total: 97.726558 ms (FindLiveObjects: 0.631538 ms CreateObjectMapping: 0.167527 ms MarkObjects: 96.440749 ms  DeleteObjects: 0.485725 ms)
    313.  
    314. Opening scene 'Assets/Scenes/SettingsNew.unity'
    315. Unloading 9 Unused Serialized files (Serialized files now loaded: 0)
    316. Loaded scene 'Assets/Scenes/SettingsNew.unity'
    317.     Deserialize:            45.731 ms
    318.     Integration:            37.065 ms
    319.     Integration of assets:  0.213 ms
    320.     Thread Wait Time:       18.315 ms
    321.     Total Operation Time:   101.324 ms
    322. System memory in use before: 0.67 GB.
    323. System memory in use after: 0.67 GB.
    324.  
    325. Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 4497.
    326. Total: 96.927512 ms (FindLiveObjects: 0.814806 ms CreateObjectMapping: 0.218046 ms MarkObjects: 95.874369 ms  DeleteObjects: 0.019484 ms)
    327.  
    328.  
    329.  
    330. Mono dependencies included in the build
    331. Dependency assembly - UnityEngine.Advertisements.dll
    332. Dependency assembly - System.Data.dll
    333. Dependency assembly - System.Runtime.Serialization.Xml.dll
    334. Dependency assembly - System.Net.Http.dll
    335. Dependency assembly - System.ComponentModel.Composition.dll
    336. Dependency assembly - Newtonsoft.Json.dll
    337. Dependency assembly - System.dll
    338. Dependency assembly - UnityEngine.Purchasing.dll
    339. Dependency assembly - mscorlib.dll
    340. Dependency assembly - Mono.Security.dll
    341. Dependency assembly - System.Drawing.dll
    342. Dependency assembly - Unity.ResourceManager.dll
    343. Dependency assembly - NativeShare.Runtime.dll
    344. Dependency assembly - System.IO.Compression.dll
    345. Dependency assembly - DOTween.dll
    346. Dependency assembly - Unity.Addressables.dll
    347. Dependency assembly - System.Runtime.Serialization.dll
    348. Dependency assembly - System.IO.Compression.FileSystem.dll
    349. Dependency assembly - System.Globalization.Extensions.dll
    350. Dependency assembly - Unity.Analytics.Tracker.dll
    351. Dependency assembly - UnityEngine.SpatialTracking.dll
    352. Dependency assembly - System.EnterpriseServices.dll
    353. Dependency assembly - UnityEngine.Monetization.dll
    354. Dependency assembly - System.Transactions.dll
    355. Dependency assembly - Elringus.BlendModes.Runtime.dll
    356. Dependency assembly - System.Diagnostics.StackTrace.dll
    357. Dependency assembly - Unity.ScriptableBuildPipeline.dll
    358. Dependency assembly - System.Xml.XPath.XDocument.dll
    359. Dependency assembly - Unity.Timeline.dll
    360. Dependency assembly - System.Xml.dll
    361. Dependency assembly - Assembly-CSharp.dll
    362. Dependency assembly - UnityEngine.UI.dll
    363. Dependency assembly - netstandard.dll
    364. Dependency assembly - Unity.Compat.dll
    365. Dependency assembly - Unity.Analytics.StandardEvents.dll
    366. Dependency assembly - com.unity.multiplayer-hlapi.Runtime.dll
    367. Dependency assembly - System.Numerics.dll
    368. Dependency assembly - Unity.Analytics.DataPrivacy.dll
    369. Dependency assembly - Nodeshifter.dll
    370. Dependency assembly - Assembly-CSharp-firstpass.dll
    371. Dependency assembly - System.Configuration.dll
    372. Dependency assembly - Unity.Localization.dll
    373. Dependency assembly - UIEffect.dll
    374. Dependency assembly - UnityEngine.XR.LegacyInputHelpers.dll
    375. Dependency assembly - Unity.Tasks.dll
    376. Dependency assembly - System.Core.dll
    377. Dependency assembly - Unity.TextMeshPro.dll
    378. Dependency assembly - System.ServiceModel.Internals.dll
    379. Dependency assembly - System.Xml.Linq.dll
    380.  
    381. Unloading 56 Unused Serialized files (Serialized files now loaded: 0)
    382. System memory in use before: 0.67 GB.
    383. System memory in use after: 0.67 GB.
    384.  
    385. Unloading 119 unused Assets to reduce memory usage. Loaded Objects now: 4233.
    386. Total: 96.983920 ms (FindLiveObjects: 1.069993 ms CreateObjectMapping: 0.210305 ms MarkObjects: 95.406981 ms  DeleteObjects: 0.295239 ms)
    387.  
    388. [EnlightenBakeManager] m_Clear = false;
    389. Unloading 1 Unused Serialized files (Serialized files now loaded: 0)
    390. System memory in use before: 0.66 GB.
    391. System memory in use after: 0.66 GB.
    392.  
    393. Unloading 2 unused Assets to reduce memory usage. Loaded Objects now: 4243.
    394. Total: 87.535219 ms (FindLiveObjects: 0.790799 ms CreateObjectMapping: 0.140121 ms MarkObjects: 86.566472 ms  DeleteObjects: 0.036993 ms)
    395.  
    396. Unloading 6 Unused Serialized files (Serialized files now loaded: 0)
    397. System memory in use before: 0.79 GB.
    398. System memory in use after: 0.66 GB.
    399.  
    400. Unloading 150 unused Assets to reduce memory usage. Loaded Objects now: 4231.
    401. Total: 122.768123 ms (FindLiveObjects: 0.459181 ms CreateObjectMapping: 0.099500 ms MarkObjects: 88.591216 ms  DeleteObjects: 33.616873 ms)
    402.  
    403. Compressed shader 'Hidden/UIEffect' on metal from 2.44MB to 0.04MB
    404. Unloading 183 Unused Serialized files (Serialized files now loaded: 0)
    405. System memory in use before: 1.10 GB.
    406. System memory in use after: 1.06 GB.
    407.  
    408. Unloading 943 unused Assets to reduce memory usage. Loaded Objects now: 4243.
    409. Total: 101.032316 ms (FindLiveObjects: 0.687029 ms CreateObjectMapping: 0.267862 ms MarkObjects: 93.694996 ms  DeleteObjects: 6.381353 ms)
    410.  
    411. LightingSettings: switching bake backend from 1 to 0.
    412. LightingSettings: switching bake backend from 1 to 0.
    413. LightingSettings: switching bake backend from 1 to 0.
    414. LightingSettings: switching bake backend from 1 to 0.
    415. LightingSettings: switching bake backend from 1 to 0.
    416. LightingSettings: switching bake backend from 1 to 0.
    417.  
    418. ***Player size statistics***
    419. Level 0 'Assets/Scenes/TitleScreen.unity' uses 4.5 MB compressed / 22.2 MB uncompressed.
    420. Level 1 'Assets/Scenes/Settings.unity' uses 60.6 KB compressed / 384.0 KB uncompressed.
    421. Level 2 'Assets/Scenes/Game.unity' uses 5.8 MB compressed / 38.9 MB uncompressed.
    422. Level 3 'Assets/Scenes/Profile.unity' uses 37.2 KB compressed / 2.6 MB uncompressed.
    423. Level 4 'Assets/Scenes/Store.unity' uses 2.1 MB compressed / 4.0 MB uncompressed.
    424. Level 5 'Assets/Scenes/WarpDrive.unity' uses 0 B compressed / 0 B uncompressed.
    425. Level 6 'Assets/Scenes/Credits.unity' uses 0 B compressed / 0 B uncompressed.
    426. Level 7 'Assets/Scenes/SettingsNew.unity' uses 149.3 MB compressed / 411.0 MB uncompressed.
    427. Total compressed size 161.8 MB. Total uncompressed size 479.1 MB.
    428. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    429.  
    430. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    431.  
    432. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    433.  
    434. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    435.  
    436. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    437.  
    438. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    439.  
    440. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    441.  
    442. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    443.  
    444. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    445.  
    446. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    447.  
    448. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    449.  
    450. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    451.  
    452. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    453.  
    454. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    455.  
    456. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    457.  
    458. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    459.  
    460. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    461.  
    462. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    463.  
    464. Compressed texture icon is used as icon. This might compromise visual quality of the final image. Uncompressed format might be considered as better import option.
    465.  
    466. Invoking UnityLinker with arguments: -out="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/tempStrip" -x="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/../platform_native_link.xml" -x="/var/folders/6d/7fb8q3_576358cs38040dm8h0000gn/T/tmp25210243.tmp" -x="/var/folders/6d/7fb8q3_576358cs38040dm8h0000gn/T/tmp3f41e174.tmp" -x="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/TypesInScenes.xml" -x="/Users/jan/Projects/Unity/Orbital/Assets/StreamingAssets/aa/iOS/link.xml" -d="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed" --include-unity-root-assembly="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/Assembly-CSharp-firstpass.dll" --include-unity-root-assembly="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" --include-unity-root-assembly="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/Unity.Localization.dll" --include-unity-root-assembly="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/Unity.TextMeshPro.dll" --include-unity-root-assembly="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/UnityEngine.Advertisements.dll" --include-unity-root-assembly="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/Elringus.BlendModes.Runtime.dll" --include-unity-root-assembly="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" --include-unity-root-assembly="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/Nodeshifter.dll" --include-unity-root-assembly="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/DOTween.dll" --dotnetruntime=il2cpp --dotnetprofile=unityaot --use-editor-options --include-directory="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed" --editor-settings-flag=AllowDebugging --editor-settings-flag=Development --rule-set=Conservative --editor-data-file="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed/EditorToUnityLinkerData.json" --platform=iOS --enable-engine-module-stripping --engine-stripping-flag=EnableUnityConnect --engine-stripping-flag=EnablePerformanceReporting --engine-stripping-flag=EnableAnalytics --engine-stripping-flag=EnableCrashReporting --engine-modules-asset-file="/Applications/2020.2.0a18/PlaybackEngines/iOSSupport/Whitelists/../modules.asset"
    467. /Applications/2020.2.0a18/Unity.app/Contents/il2cpp/build/deploy/net471/UnityLinker.exe exited after 4344 ms.
    468. /Applications/2020.2.0a18/Unity.app/Contents/Tools/InternalCallRegistrationWriter/InternalCallRegistrationWriter.exe exited after 257 ms.
    469. Invoking il2cpp with arguments: --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="unityaot" --additional-cpp="/Users/jan/Projects/Unity/Orbital/Library/Il2cppBuildCache/iOS/additionalCppFiles/UnityClassRegistration.cpp" --additional-cpp="/Users/jan/Projects/Unity/Orbital/Library/Il2cppBuildCache/iOS/additionalCppFiles/UnityICallRegistration.cpp" --enable-debugger --avoid-dynamic-library-copy --profiler-report --map-file-parser="/Applications/2020.2.0a18/Unity.app/Contents/Tools/MapFileParser/MapFileParser" --directory="/Users/jan/Projects/Unity/Orbital/Temp/StagingArea/Data/Managed" --generatedcppdir="/Users/jan/Projects/Unity/Orbital/Library/Il2cppBuildCache/iOS/il2cppOutput"
    470. /Applications/2020.2.0a18/Unity.app/Contents/il2cpp/BeeRunner/bee.exe exited after 28472 ms.
    471. Deleting Addressables data from /Users/jan/Projects/Unity/Orbital/Assets/StreamingAssets/aa.
    472.  
    473. Connection is no longer valid. Calling auto disconnect.
    474.  #0 GetStacktrace(int)
    475.  #1 DebugStringToFile(DebugStringToFileData const&)
    476.  #2 GeneralConnection::Poll()
    477.  #3 EditorConnection::PollAllCustomMessages(dynamic_array<GeneralConnection::MulticastInfo, 0ul>&, double)
    478.  #4 Application::TickTimer()
    479.  #5 -[EditorApplication TickTimer]
    480.  #6 __NSFireTimer
    481.  #7 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
    482.  #8 __CFRunLoopDoTimer
    483.  #9 __CFRunLoopDoTimers
    484.  #10 __CFRunLoopRun
    485.  #11 CFRunLoopRunSpecific
    486.  #12 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
    487.  #13 -[NSRunLoop(NSRunLoop) runUntilDate:]
    488.  #14 WaitForCompletion(XcodeCocoaScriptingBridgeSchemeActionResult*, double)
    489.  #15 RunXCodeFromScript
    490.  #16  (Mono JIT Code) (wrapper managed-to-native) UnityEditor.iOS.XCodeUtils:RunXCodeFromScript (string,string)
    491. 'Temp/__Backupscenes/0.backup'
    492.     Deserialize:            77.056 ms
    493.     Integration:            84.418 ms
    494.     Integration of assets:  1.037 ms
    495.     Thread Wait Time:       19.983 ms
    496.     Total Operation Time:   182.494 ms
    497. System memory in use before: 0.64 GB.
    498. System memory in use after: 0.64 GB.
    499.  
    500. Unloading 3 unused Assets to reduce memory usage. Loaded Objects now: 4462.
    501. Total: 168.652964 ms (FindLiveObjects: 1.176875 ms CreateObjectMapping: 0.350206 ms MarkObjects: 167.053190 ms  DeleteObjects: 0.071610 ms)
    502.  
    503. Build completed with a result of 'Succeeded' in 115 seconds (114637 ms)
    504.  
    505. [00:00:00] Enlighten: Precompute started.
    506. [PathTracer] building lightmap data asset.
    507. [00:00:00] Enlighten: Finished 1 Layout Systems job (0.00s execute, 0.00s integrate, 0.37s wallclock)
    508. [PathTracer] building lightmap data asset.
    509. [00:00:01] Enlighten: Finished 1 Tetrahedralize Probes job (0.00s execute, 0.00s integrate, 0.25s wallclock)
    510. [00:00:01] Enlighten: Precompute took 0.618547 seconds.
    511. Enlighten scene contents:   0 geometries.   0 instances.   0 systems.   0 probe groups.   0 cube maps. Scene is up-to-date.
    512. [00:00:01] Enlighten: Bake started.
    513. Launching external process: /Applications/2020.2.0a18/Unity.app/Contents/Tools/JobProcess
    514. [00:00:01] Enlighten: Finished 1 Bake Runtime job (0.05s execute, 0.00s integrate, 0.25s wallclock)
    515. [00:00:01] Enlighten: Bake took 0.251856 seconds.
    516. [00:00:03] Enlighten: Reflection Probes started.
    517. [00:00:04] Enlighten: Finished 1 Bake Ambient Probe job (0.00s execute, 0.00s integrate, 0.25s wallclock)
    518. [00:00:04] Enlighten: Finished 1 Reflection System job (0.00s execute, 0.00s integrate, 0.31s wallclock)
    519. [00:00:04] Enlighten: LightingDataAsset started.
    520. > Collecting Enlighten data
    521. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> SetMuted(False)
    522.  
    523.  
    524. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> ReadFromFile(/var/mobile/Containers/Data/Application/2CA8D93C-9DD7-4F14-B7D6-2C30483800BD/Documents/playerSettings.json)
    525. contents:
    526. {
    527.     "name": "",
    528.     "xp": 1006,
    529.     "warpDrive": 0,
    530.     "stage": 1,
    531.     "longestRun": 11,
    532.     "saalt": 63,
    533.     "enhancements": [],
    534.     "cassettes": [],
    535.     "cassettesEquiped": [],
    536.     "banner": "",
    537.     "cassetteSlotsTotal": 0,
    538.     "cassetteSlotsAvailable": 0,
    539.     "isTest": false,
    540.     "isMusicOn": false,
    541.     "isSfxOn": true,
    542.     "isScoreDisplayedOn": true
    543. }
    544.  
    545.  
    546. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> Initializing LocalizationSettings
    547.  
    548.  
    549. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> English
    550.  
    551.  
    552. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> en-US
    553.  
    554.  
    555. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> Exception encountered in operation UnityEngine.ResourceManagement.ResourceManager+CompletedOperation`1[System.Collections.Generic.IList`1[UnityEngine.Localization.Locale]], result='', status='Failed': Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=Locale, Type=UnityEngine.Localization.Locale
    556.  
    557.  
    558. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> Exception encountered in operation UnityEngine.AddressableAssets.Initialization.InitializationOperation, result='', status='Succeeded' - Chain<IList`1>: ChainOperation of Type: System.Collections.Generic.IList`1[UnityEngine.Localization.Locale] failed because dependent operation failed
    559. Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=Locale, Type=UnityEngine.Localization.Locale
    560.  
    561.  
    562. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> Assertion failed: No locale could be selected. Please check available locales and startup selector.
    563.  
    564.  
    565. Uploading Crash Report
    566. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> ArgumentNullException: Value cannot be null.
    567. Parameter name: locale
    568.  
    569.  
    570. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> ArgumentNullException: Value cannot be null.
    571. Parameter name: locale
    572.  
    573.  
    574. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> ArgumentNullException: Value cannot be null.
    575. Parameter name: locale
    576.  
    577.  
    578. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> ArgumentNullException: Value cannot be null.
    579. Parameter name: locale
    580.  
    581.  
    582. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> Assertion failed: No locale could be selected. Please check available locales and startup selector.
    583.  
    584.  
    585. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> Can not preload when `LocalizationSettings.SelectedLocale` is null.
    586.  
    587.  
    588. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> Assertion failed: No locale could be selected. Please check available locales and startup selector.
    589.  
    590.  
    591. <i>iPhonePlayer(iPhone-de-Jan-Lubeck):56000</i> Can not preload when `LocalizationSettings.SelectedLocale` is null.
    592.  
    593.  
    594.  
     
  10. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
    In the log I can see `Assertion failed: No locale could be selected. Please check available locales and startup selector.`
    So it could not select a Locale to use, which is likely because there is no Locale to select from. So this points towards an Addressable issue.
    Are you able to share your project?
     
  11. bottledgalaxy

    bottledgalaxy

    Joined:
    Jul 19, 2019
    Posts:
    85
    I could, but not publicly.. where can I send it?
     
  12. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
    Could you file a bug report? This will let you share the project.
     
  13. bottledgalaxy

    bottledgalaxy

    Joined:
    Jul 19, 2019
    Posts:
    85
    Ok, I was able to strip everything down into a reproducible tiny project. I'm hoping this is a dumb user error and I don't have to go through the process of the bug report...

    If you still think it is a bug after looking at it, then I'll create it.

    Thank you!
     

    Attached Files:

  14. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
    Your Locales Addressable group has become corrupted.
    upload_2020-7-22_16-46-54.png

    This is what it should look like:
    upload_2020-7-22_16-47-24.png

    I have seen this happen before but so far do not know what's causing it. Im fairly certain its an Addressables bug.
    To fix this, open the Addressables window Window/Asset Management/Addressables/Groups, select the Locales group and delete it. Now go back to the LocalizationSettings and press the "Add All" button for the Available Locales. This will regenerate the group with the correct settings. It should look like this:
    upload_2020-7-22_16-50-39.png

    Ill speak to the Addressables team to see if we can detect this or produce an error.
     
  15. bottledgalaxy

    bottledgalaxy

    Joined:
    Jul 19, 2019
    Posts:
    85
    YESSSSS that worked!!!

    You're awesome!

    I have one more question though, might be a best practice though... I noticed that when I have my phone on my second supported language, I briefly see the original english before everything switches to the other language. Is there a way to prevent that?
     
    karl_jones likes this.
  16. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
    You would need to have something block the screen while the initial loading is happening. You could have a splash screen that waits on LocalizationSettings.InitializationOperation.
     
    bottledgalaxy likes this.
  17. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,476
    ArgumentNullException: Value cannot be null.

    error occurs when run PC windows build for Steam. No error was at Unity editor.
    using addressable asset system.

    Why and how to resolve?
     
  18. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
    Whats the full error including callstack?
    What version of the package are you using?
     
  19. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,476
    Thx for reply. Here.
    -------
    Bundle load start
    UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
    UnityEngine.Logger:Log(LogType, Object)
    UnityEngine.Debug:Log(Object)
    <BundleLoadCo>d__63:MoveNext() (at N:\GOD-versionSTEAM\Assets\Prefabs\UIPrefab\YongJin\Bundle\BundleManager.cs:180)
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
    <LoadScene>d__1:MoveNext() (at N:\GOD-versionSTEAM\Assets\Script\System\StartSceneManager.cs:13)
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
    UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
    StartSceneManager:Start() (at N:\GOD-versionSTEAM\Assets\Script\System\StartSceneManager.cs:8)
    ArgumentNullException: Value cannot be null.
    Parameter name: source
    at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x00000] in <00000000000000000000000000000000>:0
    at BundleManager.DesignItemBundleCompleted (UnityEngine.ResourceManagement.AsyncOperations.AsyncOperationHandle`1[TObject] result, System.String name) [0x00008] in N:\GOD-versionSTEAM\Assets\Prefabs\UIPrefab\YongJin\Bundle\BundleManager.cs:1424
    at BundleManager+<>c__DisplayClass82_0.<Public_BundleCo>b__1 () [0x000c3] in N:\GOD-versionSTEAM\Assets\Prefabs\UIPrefab\YongJin\Bundle\BundleManager.cs:344
    at UnityEngine.WaitUntil.get_keepWaiting () [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.CustomYieldInstruction.MoveNext () [0x00000] in <00000000000000000000000000000000>:0
    at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <00000000000000000000000000000000>:0
    Setting up 8 worker threads for Enlighten.
    Thread -> id: 2148 -> priority: 1
    Thread -> id: 8ec0 -> priority: 1
    Thread -> id: 11b60 -> priority: 1
    Thread -> id: e2d4 -> priority: 1
    Thread -> id: f23c -> priority: 1
    Thread -> id: 8500 -> priority: 1
    Thread -> id: 11774 -> priority: 1
    Thread -> id: ff68 -> priority: 1
    Curl error 42: Callback aborted
    PlayerConnection::Cleanup##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1669904154491,"processId":30252,"allocatedMemory":1685996,"memoryLabels":[{"Default":43488},{"Permanent":40},{"NewDelete":880},{"Thread":312444},{"Manager":1968},{"Geometry":-8344},{"GfxDevice":210584},{"Animation":2128},{"FontEngine":4096},{"Serialization":8560},{"Renderer":18832},{"File":854715},{"WebCam":32},{"String":143712},{"DynamicArray":83324},{"HashMap":1536},{"PoolAlloc":56},{"GI":296},{"VR":1560},{"NativeArray":1500},{"Secure":4277},{"Subsystems":96},{"EditorGui":216}]}

    from Player.log
    -----------

    version is Unity 2021.1.16f1, Addressables Version 1.16.19 - April 15, 2021
     
  20. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
  21. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,476
    Strange... so at run game in unity editor, there is no problem at all.
    But run at standalone build, it happens.

    Here is 1424 line at bundlemanager.cs

    unity-bundle-error.JPG

    and 344 line

    unity-344-line.JPG
     
  22. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
    So its expected to load a list of ScriptableObjects. Looks like something is going wrong in the load operation. Do you have the full log file? Can you check the `result.Status`?
     
  23. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,476
    Here is log file.
    Result.Status , I will check now.
     
    Last edited: Dec 3, 2022
  24. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,476
    Debug.Log("Result status is " + result.Status);

    result.Status says 6 times [Result status is Succeeded] and 7th [Result status is Failed]

    7th is "Seal Condition" at above picture.

    then why this occur? I don't know. I didn't changed anything and at unity editor, it runs well.

    I can't let it be failed. This process should be succeeded. But why it failed, so how can I make it success?
     
    Last edited: Dec 2, 2022
  25. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,476
    some of my scriptable object name has "#", is this the reason? addressable name can't have "#"?
     
  26. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,476
    so was problem "#" included in scriptable object's name. Changed it to "-" and resolved.
     
  27. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,297
    Ah glad to see you solved it. We do check for invalid characters in some parts but I guess this bit was missed. Feel free to file a bug report, maybe we can at least produce and error.