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
  3. Dismiss Notice

Android Crash Caused by ScriptableObject

Discussion in 'Editor & General Support' started by ry511, Dec 8, 2021.

  1. ry511

    ry511

    Joined:
    Jul 24, 2016
    Posts:
    60
    Hey Everyone,

    Im running into an issue where when I add too many assets to a ScriptableObject(SO) the build Android app crashes on startup.

    I have a SO that holds a list of theme SOs which hold a list of color palette SOs that players can chose from to change the look of the game. Each palette is a bunch of sprites and numbers describing how things should look(scale, speed, etc...).

    I am able to build and run with a low amount of themes and palettes included but once I add too many the game crashes every time on startup. I have tested different combinations to see if it was an issue with a specific SO but it seems to be an amount issue.

    I have attempted to use adb logcat to debug and only one part stands out to me. Full output is below

    java.util.concurrent.TimeoutException: [Optimistic Bind] Didn't bind to resolver in time!

    Googleing for that only found a couple results and no useful resolutions.

    Any thoughts or advice is greatly appreciated.

    Thanks in advance!

    Debug output:
    ~adb logcat -s Unity ActivityManager PackageManager dalvikvm DEBUG
    12-08 13:18:49.967 10189 10189 D Unity : CommandLine:
    12-08 13:18:50.015 10189 10189 D Unity : onActivityResumed: com.unity3d.player.UnityPlayerActivity@17ac65c
    12-08 13:18:50.015 10189 10189 I Unity : onResume
    12-08 13:18:50.056 10189 10227 D Unity : SetWindow 0 0x8a926808
    12-08 13:18:50.057 10189 10227 D Unity : SetWindow 0 0x8a926808
    12-08 13:18:50.084 10189 10189 I Unity : windowFocusChanged: true
    12-08 13:18:50.130 10189 10227 I Unity : MemoryManager: Using 'Dynamic Heap' Allocator.
    12-08 13:18:50.191 10189 10227 D Unity : Enabling Unity systrace
    12-08 13:18:50.255 10189 10227 D Unity : [VFS] Mount /data/app/com.doppel.solcala-1e3Oizl1_yByHZOBJy94Jw==/base.apk
    12-08 13:18:50.980 10189 10227 I Unity : SystemInfo CPU = ARMv7 VFPv3 NEON, Cores = 8, Memory = 1831mb
    12-08 13:18:50.980 10189 10227 I Unity : SystemInfo ARM big.LITTLE configuration: 4 big (mask: 0xf0), 4 little (mask: 0xf)
    12-08 13:18:50.981 10189 10227 I Unity : ApplicationInfo com.doppel.solcala version 0.1 build 69503208-17ee-4703-ad27-8eb8342524b2
    12-08 13:18:50.981 10189 10227 I Unity : Built from '2020.3/staging' branch, Version '2020.3.24f1 (79c78de19888)', Build type 'Development', Scripting Backend 'mono', CPU 'armeabi-v7a', Stripping 'Disabled'
    12-08 13:18:50.986 10189 10227 D Unity : Mono path[0] = '/data/app/com.doppel.solcala-1e3Oizl1_yByHZOBJy94Jw==/base.apk/assets/bin/Data/Managed'
    12-08 13:18:50.986 10189 10227 D Unity : Mono config path = 'assets/bin/Data/Managed/etc'
    12-08 13:18:50.993 10189 10227 D Unity : PlayerConnection initialized from /data/app/com.doppel.solcala-1e3Oizl1_yByHZOBJy94Jw==/base.apk/assets/bin/Data (debug = 0)
    12-08 13:18:50.994 10189 10227 D Unity : PlayerConnection initialized network socket : 0.0.0.0 55153
    12-08 13:18:50.994 10189 10227 D Unity : PlayerConnection initialized unix socket : Unity-com.doppel.solcala
    12-08 13:18:50.995 10189 10227 D Unity : Multi-casting "[IP] 10.0.0.8 [Port] 55153 [Flags] 2 [Guid] 1494773894 [EditorId] 822840559 [Version] 1048832 [Id] AndroidPlayer(motorola_moto_g(7)_play@10.0.0.8) [Debug] 1 [PackageName] AndroidPlayer [ProjectName] solcala" to [225.0.0.222:54997]...
    12-08 13:18:50.995 10189 10227 D Unity : Started listening to [0.0.0.0:55153]
    12-08 13:18:50.995 10189 10227 D Unity : Starting managed debugger on port 56894
    12-08 13:18:50.995 10189 10227 D Unity : Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=0.0.0.0:56894
    12-08 13:18:51.153 10189 10227 D Unity : [EGL] Attaching window :0x8a926808
    12-08 13:18:51.154 10189 10227 D Unity : InitializeScriptEngine OK (0x7d7dbf00)
    12-08 13:18:51.154 10189 10227 D Unity : PlayerConnection already initialized - listening to [0.0.0.0:55153]
    12-08 13:18:51.208 10189 10227 D Unity : PlayerInitEngineNoGraphics OK
    12-08 13:18:51.208 10189 10227 I Unity : Company Name: doppel
    12-08 13:18:51.208 10189 10227 I Unity : Product Name: solcala
    12-08 13:18:51.208 10189 10227 D Unity : AndroidGraphics::Startup window = 0x8a926808
    12-08 13:18:51.208 10189 10227 D Unity : [EGL] Attaching window :0x8a926808
    12-08 13:18:51.212 10189 10227 D Unity : [Subsystems] Discovering subsystems at path assets/bin/Data/UnitySubsystems
    12-08 13:18:51.233 10189 10227 D Unity : [Vulkan init] extensions: count=10
    12-08 13:18:51.233 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_surface, enabled=1
    12-08 13:18:51.233 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_android_surface, enabled=1
    12-08 13:18:51.233 10189 10227 D Unity : [Vulkan init] extensions: name=VK_EXT_swapchain_colorspace, enabled=1
    12-08 13:18:51.233 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
    12-08 13:18:51.233 10189 10227 D Unity : [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=1
    12-08 13:18:51.233 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=1
    12-08 13:18:51.233 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
    12-08 13:18:51.233 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
    12-08 13:18:51.233 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0
    12-08 13:18:51.233 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
    12-08 13:18:51.236 10189 10227 D Unity : [Vulkan init] SelectPhysicalDevice requestedDeviceIndex=-1 xrDevice=0x0
    12-08 13:18:51.236 10189 10227 D Unity : [Vulkan init] Physical Device 0x9e204150 [0]: "Adreno (TM) 506" deviceType=1 vendorID=5143 deviceID=5000600
    12-08 13:18:51.236 10189 10227 D Unity : Vulkan detection: 2
    12-08 13:18:51.236 10189 10227 D Unity : GfxDevice: creating device client; threaded=1
    12-08 13:18:51.237 10189 10227 D Unity : [Vulkan init] extensions: count=10
    12-08 13:18:51.237 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_surface, enabled=1
    12-08 13:18:51.237 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_android_surface, enabled=1
    12-08 13:18:51.237 10189 10227 D Unity : [Vulkan init] extensions: name=VK_EXT_swapchain_colorspace, enabled=1
    12-08 13:18:51.237 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0
    12-08 13:18:51.237 10189 10227 D Unity : [Vulkan init] extensions: name=VK_EXT_debug_report, enabled=1
    12-08 13:18:51.237 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=1
    12-08 13:18:51.237 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0
    12-08 13:18:51.237 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0
    12-08 13:18:51.237 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0
    12-08 13:18:51.237 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0
    12-08 13:18:51.243 10189 10227 D Unity : [Vulkan init] SelectPhysicalDevice requestedDeviceIndex=-1 xrDevice=0x0
    12-08 13:18:51.243 10189 10227 D Unity : [Vulkan init] Physical Device 0x9e204150 [0]: "Adreno (TM) 506" deviceType=1 vendorID=5143 deviceID=5000600
    12-08 13:18:51.243 10189 10227 D Unity : [Vulkan init] Selected physical device 0x9e204150
    12-08 13:18:51.243 10189 10227 D Unity : [Vulkan init] Graphics queue count=1
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: count=32
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_incremental_present, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_shared_presentable_image, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_GOOGLE_display_timing, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_memory, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_get_memory_requirements2, enabled=1
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_semaphore_fd, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_memory_fd, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_maintenance1, enabled=1
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_maintenance2, enabled=1
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_maintenance3, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_EXT_queue_family_foreign, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_bind_memory2, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_semaphore, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_sampler_ycbcr_conversion, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_variable_pointers, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_push_descriptor, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_device_group, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_relaxed_block_layout, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_fence, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_multiview, enabled=1
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_storage_buffer_storage_class, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_EXT_sampler_filter_minmax, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_create_renderpass2, enabled=1
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_EXT_global_priority, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_shader_draw_parameters, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_descriptor_update_template, enabled=1
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_driver_properties, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_ANDROID_external_memory_android_hardware_buffer, enabled=0
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_dedicated_allocation, enabled=1
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_swapchain, enabled=1
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_sampler_mirror_clamp_to_edge, enabled=1
    12-08 13:18:51.246 10189 10227 D Unity : [Vulkan init] extensions: name=VK_KHR_external_fence_fd, enabled=0
    12-08 13:18:51.250 10189 10227 D Unity : Vulkan API version 1.1.0 (1.1.87 supported by driver, 1.1.0 requested)
    12-08 13:18:51.250 10189 10227 D Unity : Vulkan vendor=[Qualcomm] id=[5143]
    12-08 13:18:51.250 10189 10227 D Unity : Vulkan renderer=[Adreno (TM) 506] id=[5000600]
    12-08 13:18:51.250 10189 10227 D Unity : Vulkan device type 1
    12-08 13:18:51.250 10189 10227 D Unity : Vulkan driverversion=[512.415.0] uint=[-2145783808]
    12-08 13:18:51.250 10189 10227 D Unity : VK use pretransform: 0
    12-08 13:18:51.262 10189 10227 D Unity : Vulkan PSO: cache data not found [path=/storage/emulated/0/Android/data/com.doppel.solcala/cache/vulkan_pso_cache.bin]
    12-08 13:18:51.266 10189 10227 D Unity : [EGL] Attaching window :0x0
    12-08 13:18:51.269 10189 10227 D Unity : AndroidDisplayManagerVulkan::AttachWindow(0x8a926808, 0)
    12-08 13:18:51.270 10189 10227 D Unity : InitializeOrResetSwapChain 720x1512 hdr=0 samples=0
    12-08 13:18:51.310 10189 10227 D Unity : AndroidDisplayManagerVulkan::AttachWindow(0x8a926808, 0)
    12-08 13:18:51.310 10189 10227 D Unity : Initialize engine version: 2020.3.24f1 (79c78de19888)
    12-08 13:18:51.335 10189 10227 D Unity : Begin MonoManager ReloadAssembly
    12-08 13:18:51.337 10189 10227 D Unity : Script Patching: Patch files are not available, '/storage/emulated/0/Android/data/com.doppel.solcala/cache/ScriptOnly/2020.3.24f1/mono/patch.config' is missing.
    12-08 13:18:51.978 10189 10227 D Unity : - Completed reload, in 0.643 seconds
    12-08 13:18:52.833 10189 10227 D Unity : PlayerInitEngineGraphics OK
    12-08 13:18:52.845 10189 10227 D Unity : Found 43 native sensors
    12-08 13:18:52.851 10189 10227 D Unity : Sensor : Accelerometer ( 1) ; 0.002396 / 0.00s ; LSM6DSM Accelerometer / STMicroelectronics
    12-08 13:18:52.852 10189 10227 D Unity : Sensor : Accelerometer ( 1) ; 0.002396 / 0.00s ; LSM6DSM Accelerometer / STMicroelectronics
    12-08 13:18:52.859 10189 10227 D Unity : SetWindow 0 0x8a926808
    12-08 13:18:52.859 10189 10227 D Unity : AndroidDisplayManagerVulkan::AttachWindow(0x8a926808, 0)
    12-08 13:18:52.863 10189 10227 D Unity : InitializeOrResetSwapChain 720x1512 hdr=0 samples=0
    12-08 13:18:56.101 1734 2147 I ActivityManager: Process com.google.process.gapps (pid 8306) has died: cch+65 CEM
    12-08 13:18:56.102 1734 2147 D ActivityManager: makeInactive, ProcessRecord{568b3ab 8306:com.google.process.gapps/u0a22}, clear holder.state
    12-08 13:18:56.113 1734 3857 I ActivityManager: Process com.motorola.help (pid 8649) has died: cch+65 CEM
    12-08 13:18:56.114 1734 3857 D ActivityManager: makeInactive, ProcessRecord{8a75933 8649:com.motorola.help/u0a250}, clear holder.state
    12-08 13:18:56.147 1734 3231 I ActivityManager: Process com.google.android.apps.wellbeing (pid 8845) has died: cch+55 CEM
    12-08 13:18:56.147 1734 3231 D ActivityManager: makeInactive, ProcessRecord{2db5e3c 8845:com.google.android.apps.wellbeing/u0a81}, clear holder.state
    12-08 13:18:56.174 1734 2147 I ActivityManager: Process android.process.acore (pid 8597) has died: cch+55 CEM
    12-08 13:18:56.175 1734 2147 D ActivityManager: makeInactive, ProcessRecord{594ca08 8597:android.process.acore/u0a23}, clear holder.state
    12-08 13:18:56.201 1734 3885 I ActivityManager: Process com.instagram.android (pid 9041) has died: cch+45 CEM
    12-08 13:18:56.202 1734 3885 D ActivityManager: makeInactive, ProcessRecord{d759893 9041:com.instagram.android/u0a438}, clear holder.state
    12-08 13:18:56.278 1734 3856 I ActivityManager: Process com.google.android.apps.messaging (pid 9258) has died: cch+65 CEM
    12-08 13:18:56.278 1734 3856 D ActivityManager: makeInactive, ProcessRecord{f3ee8bb 9258:com.google.android.apps.messaging/u0a107}, clear holder.state
    12-08 13:18:56.297 1734 3231 I ActivityManager: Process com.android.vending:background (pid 8582) has died: cch+75 CEM
    12-08 13:18:56.297 1734 3231 D ActivityManager: makeInactive, ProcessRecord{87bc3c6 8582:com.android.vending:background/u0a68}, clear holder.state
    12-08 13:18:56.354 1734 3067 I ActivityManager: Process com.urbandroid.lux (pid 9382) has died: cch+55 CEM
    12-08 13:18:56.355 1734 3067 D ActivityManager: makeInactive, ProcessRecord{1f8fadd 9382:com.urbandroid.lux/u0a184}, clear holder.state
    12-08 13:18:56.359 1734 2332 I ActivityManager: Process com.android.vending (pid 8045) has died: cch+55 CEM
    12-08 13:18:56.359 1734 2332 D ActivityManager: makeInactive, ProcessRecord{523ae8b 8045:com.android.vending/u0a68}, clear holder.state
    12-08 13:18:56.581 1734 2147 I ActivityManager: Process com.motorola.lifetimedata (pid 9601) has died: cch+45 CEM
    12-08 13:18:56.582 1734 2147 D ActivityManager: makeInactive, ProcessRecord{7605652 9601:com.motorola.lifetimedata/u0a60}, clear holder.state
    12-08 13:18:56.604 1734 2332 I ActivityManager: Process com.google.android.webview:sandboxed_process0:eek:rg.chromium.content.app.SandboxedProcessService0:0 (pid 9652) has died: cch+35 CEM
    12-08 13:18:56.605 1734 2332 D ActivityManager: makeInactive, ProcessRecord{3bded23 9652:com.google.android.webview:sandboxed_process0:eek:rg.chromium.content.app.SandboxedProcessService0:0/u0a151i162}, clear holder.state
    12-08 13:18:56.607 1734 2332 W ActivityManager: Scheduling restart of crashed service com.duckduckgo.mobile.android/org.chromium.content.app.SandboxedProcessService0:0 in 19338ms
    12-08 13:18:56.681 1734 5425 I ActivityManager: Process com.duckduckgo.mobile.android (pid 9611) has died: cch+35 CEM
    12-08 13:18:56.681 1734 5425 D ActivityManager: makeInactive, ProcessRecord{6dc38e0 9611:com.duckduckgo.mobile.android/u0a151}, clear holder.state
    12-08 13:18:56.687 1734 3885 I ActivityManager: Process com.google.process.gservices (pid 8203) has died: cch+25 CEM
    12-08 13:18:56.688 1734 3885 D ActivityManager: makeInactive, ProcessRecord{778387f 8203:com.google.process.gservices/u0a22}, clear holder.state
    12-08 13:18:56.712 1734 3066 I ActivityManager: Process com.poshmark.app (pid 9912) has died: cch+15 CEM
    12-08 13:18:56.712 1734 3066 D ActivityManager: makeInactive, ProcessRecord{709df76 9912:com.poshmark.app/u0a431}, clear holder.state
    12-08 13:18:56.724 1734 3231 I ActivityManager: Process com.motorola.moto:mya_ce (pid 10177) has died: cch+5 CEM
    12-08 13:18:56.724 1734 3231 D ActivityManager: makeInactive, ProcessRecord{e61dd9b 10177:com.motorola.moto:mya_ce/u0a49}, clear holder.state
    12-08 13:18:56.777 1734 3852 I ActivityManager: Process com.google.android.googlequicksearchbox:search (pid 7907) has died: cch CACC
    12-08 13:18:56.837 1734 3852 D ActivityManager: makeInactive, ProcessRecord{d34b43d 7907:com.google.android.googlequicksearchbox:search/u0a79}, clear holder.state
    12-08 13:18:56.845 1734 3852 W ActivityManager: Scheduling restart of crashed service com.google.android.googlequicksearchbox/com.google.android.apps.gsa.nowoverlayservice.DrawerOverlayService in 19100ms
    12-08 13:18:56.849 1734 1758 W ActivityManager: setHasOverlayUi called on unknown pid: 7907
    12-08 13:18:57.071 1734 3864 I ActivityManager: Process android.process.media (pid 8803) has died: svcb SVC
    12-08 13:18:57.073 1734 3864 D ActivityManager: makeInactive, ProcessRecord{376b877 8803:android.process.media/u0a29}, clear holder.state
    12-08 13:18:57.073 1734 3864 W ActivityManager: Scheduling restart of crashed service com.android.providers.media/.MediaScannerService in 18872ms
    12-08 13:18:57.074 1734 3864 W ActivityManager: Scheduling restart of crashed service com.android.providers.media/.MtpService in 12475600ms
    12-08 13:18:57.134 1734 2382 I ActivityManager: Process com.android.cellbroadcastreceiver (pid 8962) has died: svcb SVC
    12-08 13:18:57.135 1734 2382 D ActivityManager: makeInactive, ProcessRecord{8cafce4 8962:com.android.cellbroadcastreceiver/u0a88}, clear holder.state
    12-08 13:18:57.136 1734 2382 W ActivityManager: Scheduling restart of crashed service com.android.cellbroadcastreceiver/.areacode.CBLocUpdateService in 28809ms
    12-08 13:18:57.435 1734 3823 I ActivityManager: Process com.google.android.ims (pid 9229) has died: svc SVC
    12-08 13:18:57.437 1734 3823 D ActivityManager: makeInactive, ProcessRecord{ce78006 9229:com.google.android.ims/u0a44}, clear holder.state
    12-08 13:18:57.438 1734 3823 W ActivityManager: Scheduling restart of crashed service com.google.android.ims/.services.RcsService in 38507ms
    12-08 13:18:57.449 1734 3868 I ActivityManager: Process com.facebook.services (pid 8986) has died: svc SVC
    12-08 13:18:57.450 1734 3868 D ActivityManager: makeInactive, ProcessRecord{b86f802 8986:com.facebook.services/u0a43}, clear holder.state
    12-08 13:18:57.451 1734 3868 W ActivityManager: Scheduling restart of crashed service com.facebook.services/com.facebook.oxygen.services.fbns.PreloadedFbnsService in 48494ms
    12-08 13:18:57.540 1734 3868 I ActivityManager: Process com.garmin.android.apps.connectmobile (pid 9438) has died: prcp FGS
    12-08 13:18:57.540 1734 3868 D ActivityManager: makeInactive, ProcessRecord{d162bfd 9438:com.garmin.android.apps.connectmobile/u0a52}, clear holder.state
    12-08 13:18:57.544 1734 3868 W ActivityManager: Canceling start item Intent { cmp=com.garmin.android.apps.connectmobile/com.garmin.android.services.ForegroundServiceBroker (has extras) } in service com.garmin.android.apps.connectmobile/com.garmin.android.services.ForegroundServiceBroker
    12-08 13:18:57.545 1734 3868 W ActivityManager: Scheduling restart of crashed service com.garmin.android.apps.connectmobile/com.garmin.android.services.ForegroundServiceBroker in 56442335744ms
    12-08 13:18:57.545 1734 3868 W ActivityManager: Scheduling restart of crashed service com.garmin.android.apps.connectmobile/com.garmin.android.deviceinterface.GdiService in 58400ms
    12-08 13:18:57.545 1734 3868 W ActivityManager: Scheduling restart of crashed service com.garmin.android.apps.connectmobile/.audioprompts.AudioPromptsService in 68399ms
    12-08 13:18:57.547 1734 3868 W ActivityManager: Scheduling restart of crashed service com.garmin.android.apps.connectmobile/com.garmin.android.lib.connectdevicesync.DeviceSyncService in 78399ms
    12-08 13:18:57.585 1734 3885 I ActivityManager: Process com.google.android.inputmethod.latin (pid 8166) has died: prcp IMPB
    12-08 13:18:57.585 1734 3885 D ActivityManager: makeInactive, ProcessRecord{757e23e 8166:com.google.android.inputmethod.latin/u0a118}, clear holder.state
    12-08 13:18:57.585 1734 3885 W ActivityManager: Scheduling restart of crashed service com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME in 78360ms
    12-08 13:18:57.596 1734 3054 I ActivityManager: Process com.google.android.tts (pid 9551) has died: fore SVC
    12-08 13:18:57.597 1734 3054 D ActivityManager: makeInactive, ProcessRecord{ff5cf5a 9551:com.google.android.tts/u0a143}, clear holder.state
    12-08 13:18:57.831 1734 3054 I ActivityManager: Process com.urbandroid.lux:background (pid 9353) has died: prcp FGS
    12-08 13:18:57.832 1734 3054 D ActivityManager: makeInactive, ProcessRecord{922e105 9353:com.urbandroid.lux:background/u0a184}, clear holder.state
    12-08 13:18:57.833 1734 3054 W ActivityManager: Scheduling restart of crashed service com.urbandroid.lux/.TwilightService in 88113ms
    12-08 13:18:57.914 1734 3885 I ActivityManager: Process com.motorola.launcher3 (pid 7922) has died: vis BFGS
    12-08 13:18:57.915 1734 3885 D ActivityManager: makeInactive, ProcessRecord{4944892 7922:com.motorola.launcher3/u0a67}, clear holder.state
    12-08 13:18:57.916 1734 3885 W ActivityManager: Scheduling restart of crashed service com.motorola.launcher3/com.android.quickstep.TouchInteractionService in 98030ms
    12-08 13:18:57.975 1734 1758 W ActivityManager: setHasOverlayUi called on unknown pid: 7922
    12-08 13:18:57.975 1734 2332 I ActivityManager: Process com.google.android.gms.persistent (pid 7916) has died: vis TOP
    12-08 13:18:57.975 1734 2332 D ActivityManager: makeInactive, ProcessRecord{787ee24 7916:com.google.android.gms.persistent/u0a22}, clear holder.state
    12-08 13:18:57.977 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.thunderbird.EmergencyPersistentService in 107969ms
    12-08 13:18:57.977 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/com.google.android.location.network.NetworkLocationService in 117969ms
    12-08 13:18:57.977 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.tron.CollectionService in 127969ms
    12-08 13:18:57.977 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.presencemanager.service.PresenceManagerPresenceReportService in 137968ms
    12-08 13:18:57.977 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/com.google.android.location.internal.GoogleLocationManagerService in 147968ms
    12-08 13:18:57.978 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.chimera.PersistentBoundBrokerService in 157968ms
    12-08 13:18:57.978 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.auth.setup.devicesignals.LockScreenService in 167968ms
    12-08 13:18:57.978 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.gcm.nts.SchedulerService in 177968ms
    12-08 13:18:57.978 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/com.google.android.location.internal.PendingIntentCallbackService in 187968ms
    12-08 13:18:57.978 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.gcm.GcmService in 187967ms
    12-08 13:18:57.979 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.auth.trustagent.GoogleTrustAgent in 197967ms
    12-08 13:18:57.979 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.nearby.sharing.ReceiveSurfaceService in 207967ms
    12-08 13:18:57.979 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.chimera.PersistentInternalBoundBrokerService in 217967ms
    12-08 13:18:57.979 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.fido.fido2.pollux.CableAuthenticatorService in 227967ms
    12-08 13:18:57.979 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.location.persistent.LocationPersistentService in 237966ms
    12-08 13:18:57.980 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/com.google.android.location.fused.FusedLocationService in 247966ms
    12-08 13:18:57.980 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.common.stats.GmsCoreStatsService in 257966ms
    12-08 13:18:57.980 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.fido.authenticator.service.AuthenticatorService in 267966ms
    12-08 13:18:57.980 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/com.google.android.location.internal.server.HardwareArProviderService in 277966ms
    12-08 13:18:57.980 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/com.google.android.location.geocode.GeocodeService in 287966ms
    12-08 13:18:57.980 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.nearby.exposurenotification.service.ExposureMatchingService in 297966ms
    12-08 13:18:57.980 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/com.google.android.location.internal.server.GoogleLocationService in 307966ms
    12-08 13:18:57.981 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.stats.eastworld.EastworldService in 317966ms
    12-08 13:18:57.981 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/.deviceconnection.service.DeviceConnectionWatcherService in 327965ms
    12-08 13:18:57.981 1734 2332 W ActivityManager: Scheduling restart of crashed service com.google.android.gms/com.google.android.contextmanager.service.ContextManagerService in 337965ms
    12-08 13:18:58.071 1734 1766 I ActivityManager: Start proc 10284:com.google.android.gms.persistent/u0a22 for service {com.google.android.gms/com.google.android.gms.chimera.PersistentBoundBrokerService}
    12-08 13:18:58.083 1734 2649 W ActivityManager: Unable to start service Intent { act=com.qti.izat.xt.srv cmp=com.qualcomm.location.XT/.XTSrv (has extras) } U=0: not found
    12-08 13:18:58.173 1734 2649 W ActivityManager: Unable to start service Intent { act=com.qti.izat.xt.srv cmp=com.qualcomm.location.XT/.XTSrv (has extras) } U=0: not found
    12-08 13:18:58.310 1734 1764 E PackageManager: Optimistic bind failed.
    12-08 13:18:58.310 1734 1764 E PackageManager: java.util.concurrent.TimeoutException: [Optimistic Bind] Didn't bind to resolver in time!
    12-08 13:18:58.310 1734 1764 E PackageManager: at com.android.server.pm.InstantAppResolverConnection.waitForBindLocked(InstantAppResolverConnection.java:161)
    12-08 13:18:58.310 1734 1764 E PackageManager: at com.android.server.pm.InstantAppResolverConnection.bind(InstantAppResolverConnection.java:226)
    12-08 13:18:58.310 1734 1764 E PackageManager: at com.android.server.pm.InstantAppResolverConnection.lambda$optimisticBind$0$InstantAppResolverConnection(InstantAppResolverConnection.java:256)
    12-08 13:18:58.310 1734 1764 E PackageManager: at com.android.server.pm.-$$Lambda$InstantAppResolverConnection$D-JKXi4qrYjnPQMOwj8UtfZenps.run(Unknown Source:2)
    12-08 13:18:58.310 1734 1764 E PackageManager: at android.os.Handler.handleCallback(Handler.java:883)
    12-08 13:18:58.310 1734 1764 E PackageManager: at android.os.Handler.dispatchMessage(Handler.java:100)
    12-08 13:18:58.310 1734 1764 E PackageManager: at android.os.Looper.loop(Looper.java:241)
    12-08 13:18:58.310 1734 1764 E PackageManager: at android.os.HandlerThread.run(HandlerThread.java:67)
    12-08 13:18:58.328 1734 1766 I ActivityManager: Start proc 10290:com.motorola.launcher3/u0a67 for service {com.motorola.launcher3/com.android.quickstep.TouchInteractionService}
    12-08 13:18:59.026 1734 3869 W ActivityManager: Slow operation: 52ms so far, now at attachApplicationLocked: after mServices.attachApplicationLocked
    12-08 13:18:59.527 1734 3067 I ActivityManager: Process com.google.android.googlequicksearchbox:interactor (pid 8379) has died: vis FGSL
    12-08 13:18:59.563 1734 3067 D ActivityManager: makeInactive, ProcessRecord{4d2ce0b 8379:com.google.android.googlequicksearchbox:interactor/u0a79}, clear holder.state
    12-08 13:18:59.567 1734 3067 W ActivityManager: Scheduling restart of crashed service com.google.android.googlequicksearchbox/com.google.android.voiceinteraction.GsaVoiceInteractionService in 346379ms
    12-08 13:18:59.770 1734 3869 I ActivityManager: Process com.motorola.ccc (pid 7969) has died: vis IMPF
    12-08 13:18:59.783 1734 3869 D ActivityManager: makeInactive, ProcessRecord{eb7a41c 7969:com.motorola.ccc/u0a64}, clear holder.state
    12-08 13:18:59.784 1734 3869 W ActivityManager: Scheduling restart of crashed service com.motorola.ccc.devicemanagement/com.motorola.ccc.checkin.CheckinService in 356162ms
    12-08 13:18:59.785 1734 3869 W ActivityManager: Scheduling restart of crashed service com.motorola.ccc.devicemanagement/com.motorola.blur.service.blur.BlurServiceMother in 366162ms
    12-08 13:18:59.785 1734 3869 W ActivityManager: Scheduling restart of crashed service com.motorola.ccc.ota/.env.OtaService in 376162ms
    12-08 13:19:00.116 1734 1766 I ActivityManager: Start proc 10321:com.motorola.ccc/u0a64 for service {com.motorola.ccc.devicemanagement/com.motorola.blur.service.blur.BlurServiceMother}
    12-08 13:19:00.347 1734 3067 W ActivityManager: Slow operation: 159ms so far, now at attachApplicationLocked: after mServices.attachApplicationLocked
    12-08 13:19:00.347 1734 2332 I ActivityManager: Process com.motorola.actions (pid 7975) has died: vis IMPF
    12-08 13:19:00.347 1734 2332 D ActivityManager: makeInactive, ProcessRecord{44c2afe 7975:com.motorola.actions/u0a63}, clear holder.state
    12-08 13:19:00.348 1734 2332 W ActivityManager: Scheduling restart of crashed service com.motorola.actions/.qc.QuickCaptureService in 385599ms
    12-08 13:19:00.371 1734 2332 W ActivityManager: Scheduling restart of crashed service com.motorola.actions/.UserSwitchService in 395576ms
    12-08 13:19:00.371 1734 2332 W ActivityManager: Scheduling restart of crashed service com.motorola.actions/.foc.gesture.service.FlashOnChopService in 405576ms
    12-08 13:19:00.372 1734 2332 W ActivityManager: Scheduling restart of crashed service com.motorola.actions/.motoservice.MotoService in 415576ms
    12-08 13:19:00.372 1734 2332 W ActivityManager: Scheduling restart of crashed service com.motorola.actions/.quickscreenshot.service.QuickScreenshotService in 425576ms
    12-08 13:19:00.846 1734 2192 W ActivityManager: Exception when unbinding service com.google.android.gms/.measurement.service.MeasurementBrokerService
    12-08 13:19:00.846 1734 2192 W ActivityManager: android.os.DeadObjectException
    12-08 13:19:00.846 1734 2192 W ActivityManager: at android.os.BinderProxy.transactNative(Native Method)
    12-08 13:19:00.846 1734 2192 W ActivityManager: at android.os.BinderProxy.transact(BinderProxy.java:511)
    12-08 13:19:00.846 1734 2192 W ActivityManager: at android.app.IApplicationThread$Stub$Proxy.scheduleUnbindService(IApplicationThread.java:1668)
    12-08 13:19:00.846 1734 2192 W ActivityManager: at com.android.server.am.ActiveServices.removeConnectionLocked(ActiveServices.java:3205)
    12-08 13:19:00.846 1734 2192 W ActivityManager: at com.android.server.am.ActiveServices.unbindServiceLocked(ActiveServices.java:1966)
    12-08 13:19:00.846 1734 2192 W ActivityManager: at com.android.server.am.ActivityManagerService.unbindService(ActivityManagerService.java:14732)
    12-08 13:19:00.846 1734 2192 W ActivityManager: at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2400)
    12-08 13:19:00.846 1734 2192 W ActivityManager: at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3103)
    12-08 13:19:00.846 1734 2192 W ActivityManager: at android.os.Binder.execTransactInternal(Binder.java:1036)
    12-08 13:19:00.846 1734 2192 W ActivityManager: at android.os.Binder.execTransact(Binder.java:1003)
    12-08 13:19:01.187 1734 3885 I ActivityManager: Process com.google.android.gms (pid 8039) has died: cch+5 CEM
    12-08 13:19:01.199 1734 3885 D ActivityManager: makeInactive, ProcessRecord{d4c65bd 8039:com.google.android.gms/u0a22}, clear holder.state
    12-08 13:19:01.267 1734 2340 I ActivityManager: Process com.motorola.timeweatherwidget (pid 7987) has died: vis IMPF
    12-08 13:19:01.267 1734 2340 D ActivityManager: makeInactive, ProcessRecord{f193f98 7987:com.motorola.timeweatherwidget/u0a97}, clear holder.state
    12-08 13:19:01.268 1734 2340 W ActivityManager: Scheduling restart of crashed service com.motorola.timeweatherwidget/com.motorola.commandcenter.weather.KeepLiveService in 94678ms
    12-08 13:19:01.271 1734 3882 I ActivityManager: Process com.motorola.faceunlock (pid 7981) has died: vis IMPF
    12-08 13:19:01.271 1734 3882 D ActivityManager: makeInactive, ProcessRecord{6b093f1 7981:com.motorola.faceunlock/u0a42}, clear holder.state
    12-08 13:19:01.271 1734 3882 W ActivityManager: Scheduling restart of crashed service com.motorola.faceunlock/.service.FaceAuthService in 104675ms
    12-08 13:19:01.274 1734 3857 I ActivityManager: Process com.motorola.launcher3:appprediction (pid 8152) has died: vis BFGS
    12-08 13:19:01.274 1734 3857 D ActivityManager: makeInactive, ProcessRecord{bc9be57 8152:com.motorola.launcher3:appprediction/u0a67}, clear holder.state
    12-08 13:19:01.275 1734 3857 W ActivityManager: Scheduling restart of crashed service com.motorola.launcher3/com.android.launcher3.appprediction.AppPredictionServiceImpl in 104671ms
    12-08 13:19:01.276 1734 2382 I ActivityManager: Process com.google.android.ext.services (pid 10146) has died: vis BFGS
    12-08 13:19:01.277 1734 2382 D ActivityManager: makeInactive, ProcessRecord{b2ebd44 10146:com.google.android.ext.services/u0a91}, clear holder.state
    12-08 13:19:01.277 1734 2382 W ActivityManager: Scheduling restart of crashed service com.google.android.ext.services/android.ext.services.notification.Assistant in 793328ms
    12-08 13:19:01.288 1734 2382 I ActivityManager: Process com.qualcomm.qcrilmsgtunnel (pid 8325) has died: vis IMPF
    12-08 13:19:01.289 1734 2382 D ActivityManager: makeInactive, ProcessRecord{7297e2d 8325:com.qualcomm.qcrilmsgtunnel/1001}, clear holder.state
    12-08 13:19:01.289 1734 2382 W ActivityManager: Scheduling restart of crashed service com.qualcomm.qcrilmsgtunnel/.QcrilMsgTunnelService in 114657ms
    12-08 13:19:01.451 1734 1766 I ActivityManager: Start proc 10343:com.motorola.actions/u0a63 for service {com.motorola.actions/com.motorola.actions.motoservice.MotoService}
    12-08 13:19:01.486 1734 1766 I ActivityManager: Start proc 10349:com.motorola.faceunlock/u0a42 for service {com.motorola.faceunlock/com.motorola.faceunlock.service.FaceAuthService}
    12-08 13:19:01.513 1734 1766 I ActivityManager: Start proc 10360:com.motorola.timeweatherwidget/u0a97 for service {com.motorola.timeweatherwidget/com.motorola.commandcenter.weather.KeepLiveService}
    12-08 13:19:01.912 1734 2147 I ActivityManager: Process com.doppel.solcala (pid 10189) has died: fore TOP
    12-08 13:19:01.912 1734 2147 D ActivityManager: makeInactive, ProcessRecord{994ab8a 10189:com.doppel.solcala/u0a617}, clear holder.state
    12-08 13:19:02.101 1734 1758 W ActivityManager: setHasOverlayUi called on unknown pid: 10189
    12-08 13:19:02.117 1734 1766 I ActivityManager: Start proc 10392:com.doppel.solcala/u0a617 for activity {com.doppel.solcala/com.unity3d.player.UnityPlayerActivity}
    12-08 13:19:02.503 1734 2382 W ActivityManager: Unable to start service Intent { act=com.motorola.mod.action.BIND_MANAGER cmp=com.motorola.modservice/.ModManagerService } U=0: not found
    12-08 13:19:02.640 1734 1766 I ActivityManager: Start proc 10456:com.android.providers.calendar/u0a61 for content provider {com.android.providers.calendar/com.android.providers.calendar.CalendarProvider2}
    12-08 13:19:02.657 1734 1766 I ActivityManager: Start proc 10462:com.google.android.googlequicksearchbox:search/u0a79 for service {com.google.android.googlequicksearchbox/com.google.android.apps.gsa.nowoverlayservice.DrawerOverlayService}
    12-08 13:19:02.723 1734 1766 I ActivityManager: Start proc 10495:com.motorola.launcher3:appprediction/u0a67 for service {com.motorola.launcher3/com.android.launcher3.appprediction.AppPredictionServiceImpl}
    12-08 13:19:02.927 1734 1766 I ActivityManager: Start proc 10525:com.google.android.inputmethod.latin/u0a118 for service {com.google.android.inputmethod.latin/com.android.inputmethod.latin.LatinIME}
    12-08 13:19:03.180 1734 1766 I ActivityManager: Start proc 10559:com.google.process.gservices/u0a22 for content provider {com.google.android.gsf/com.google.android.gsf.gservices.GservicesProvider}
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,769
    I'll theorize that it's memory-pressure related, and since it blows up there might not be a window to get any useful information back from the profiler before things go BOOM.

    To prove it is memory-related, one easy approach is to select all textures for these sprites and set them to import as tiny, like 32x32 or 64x64, and rebuild. If it runs that way (at potato resolution), it is very likely memory pressure.

    But I do also see the complaints about Slow process, so that might be a thing too...

    EDIT: I always assume you're using source control properly so massive rip-tear-gut-shred operations can be trivially undone with a single click. If that's not the case, go start using source control now.
     
  3. ry511

    ry511

    Joined:
    Jul 24, 2016
    Posts:
    60
    Ya I can try that out and revert if it doesn't work. If it is what is the resolution? Should I store addressable paths in the SO and then load those on demand? Is there a better way or some way to make it work as is?

    Thanks for the reply, will be back with results from test.
     
  4. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    36,769
    It's a good question. Addressables could help perhaps, but I think that if you naively load them all, it will result in the same behavior, and I am not sure if there is any awareness at the Addressable level of "paging through" only a subset of what is available.

    It's a common issue too: you have themes, each them takes 32mb, and after a few years you have 200 themes so well, hey, why not put all the themes into a giant ScriptableObject that lists them all! BOOM!

    And putting them all in a single folder and using Resources.LoadAll<T>() to list them won't work either, because Unity will happily stream them all in until... BOOM!

    So I suppose the solution would be to have an array of Addressables and then your own code to load / unload them in a paginated fashion as the user streams through them. Yuk.

    Anyone else have any better ideas for generic easy bulk handling of this sort of accreted content? I don't see a way around writing some extra bookkeeping code to make it smarter about what to load.

    The canonical way I always do it is to have a pre-build step that reliably indexes all the items by name so that I can Resource.Load<T>() them later by name, confident that I'm not mistyping the name, and make sure I only keep X of them around.
     
  5. ry511

    ry511

    Joined:
    Jul 24, 2016
    Posts:
    60
    If I were to store all the addressable assets location string in a SO and then Addressables.LoadAssetAsync the theme as needed by the game(on swap) that should avoid the issue of loading them all upfront right? Sounds like a smart way to handle it in general and might just try that out instead of my current method.
     
    Kurt-Dekker likes this.
  6. ttran07

    ttran07

    Joined:
    Mar 9, 2019
    Posts:
    9
    Running to same issue

    I'm using a ScriptableObject to hold List<Sprites> (about a thousand Sprites)
    It works nicely on PC!
    But on Mobile, I'm getting "Vulkan Out of Memory"

    Funny thing is, another person did it with over 3000 sprites and it works fine.
    Any ideas?

    ======================

    EDIT: Solved it! Use SpriteAtlas!
    Having thousands of texture, Unity loading them all takes up lots of resources.
    Having SpriteAtlas, Unity combines all thousands textures into a single file for it to load and read the texture from, saving it a lot of resources
     
    Last edited: Jul 27, 2022