Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice
  3. Dismiss Notice

Question iOS build crashes

Discussion in 'Editor & General Support' started by dmtriordachi, May 12, 2024.

  1. dmtriordachi

    dmtriordachi

    Joined:
    Mar 4, 2019
    Posts:
    4
    Hi, My game is keep crashing if I add any meshes on scene.
    I tried to run an empty scene and it works and scene started. But if I add any meshes on the scene it crashes instantly. I tried with a simple cube, or a car model. I can't find why it is crashing.
    There are logs from Xcode.

    error:
    Loading.PreloadManager (35): EXC_RESOURCE (RESOURCE_TYPE_MEMORY: high watermark memory limit exceeded) (limit=1450 MB)

    Code (CSharp):
    1. 2024-05-07 22:46:21.920719+0300 CarSalerSimulator[3701:127977] UnityIAP UnityEarlyTransactionObserver: Created
    2. 2024-05-07 22:46:21.921024+0300 CarSalerSimulator[3701:127977] UnityIAP UnityEarlyTransactionObserver: Registered for lifecycle events
    3. 2024-05-07 22:46:21.953151+0300 CarSalerSimulator[3701:127977] Loading UIApplication category for Firebase App
    4. 2024-05-07 22:46:22.164825+0300 CarSalerSimulator[3701:128176] 10.12.0 - [FirebaseCore][I-COR000005] No app has been configured yet.
    5. 2024-05-07 22:46:22.309007+0300 CarSalerSimulator[3701:127977] Built from '2022.3/staging' branch, Version '2022.3.23f1 (dbb3f7c5b5c6)', Build type 'Release', Scripting Backend 'il2cpp'
    6. 2024-05-07 22:46:22.309760+0300 CarSalerSimulator[3701:127977] MemoryManager: Using 'Default' Allocator.
    7. [UnityMemory] Configuration Parameters - Can be set up in boot.config
    8.     "memorysetup-allocator-temp-initial-block-size-main=262144"
    9.     "memorysetup-allocator-temp-initial-block-size-worker=262144"
    10.     "memorysetup-bucket-allocator-granularity=16"
    11.     "memorysetup-bucket-allocator-bucket-count=8"
    12.     "memorysetup-bucket-allocator-block-size=4194304"
    13.     "memorysetup-bucket-allocator-block-count=1"
    14.     "memorysetup-main-allocator-block-size=16777216"
    15.     "memorysetup-thread-allocator-block-size=16777216"
    16.     "memorysetup-gfx-main-allocator-block-size=16777216"
    17.     "memorysetup-gfx-thread-allocator-block-size=16777216"
    18.     "memorysetup-cache-allocator-block-size=4194304"
    19.     "memorysetup-typetree-allocator-block-size=2097152"
    20.     "memorysetup-profiler-bucket-allocator-granularity=16"
    21.     "memorysetup-profiler-bucket-allocator-bucket-count=8"
    22.     "memorysetup-profiler-bucket-allocator-block-size=4194304"
    23.     "memorysetup-profiler-bucket-allocator-block-count=1"
    24.     "memorysetup-profiler-allocator-block-size=16777216"
    25.     "memorysetup-profiler-editor-allocator-block-size=1048576"
    26.     "memorysetup-temp-allocator-size-main=4194304"
    27.     "memorysetup-job-temp-allocator-block-size=2097152"
    28.     "memorysetup-job-temp-allocator-block-size-background=1048576"
    29.     "memorysetup-job-temp-allocator-reduction-small-platforms=262144"
    30.     "memorysetup-temp-allocator-size-background-worker=32768"
    31.     "memorysetup-temp-allocator-size-job-worker=262144"
    32.     "memorysetup-temp-allocator-size-preload-manager=262144"
    33.     "memorysetup-temp-allocator-size-nav-mesh-worker=65536"
    34.     "memorysetup-temp-allocator-size-audio-worker=65536"
    35.     "memorysetup-temp-allocator-size-cloud-worker=32768"
    36.     "memorysetup-temp-allocator-size-gfx=262144"
    37. -> applicationDidFinishLaunching()
    38. [Physics::Module] Initialized MultithreadedJobDispatcher with 1 workers.
    39. Loading player data from /private/var/containers/Bundle/Application/0EC20AAC-D08C-477E-A850-044A0B242C7B/CarSalerSimulator.app/Data/data.unity3d
    40. [Subsystems] Discovering subsystems at path /private/var/containers/Bundle/Application/0EC20AAC-D08C-477E-A850-044A0B242C7B/CarSalerSimulator.app/Data/UnitySubsystems
    41. GfxDevice: creating device client; threaded=1; jobified=0
    42. Initializing Metal device caps: Apple A10 GPU
    43. Initialize engine version: 2022.3.23f1 (dbb3f7c5b5c6)
    44. LOAD DATA
    45. PlayerData:LoadData()
    46.  
    47. False PLAYERDATA
    48. PlayerData:LoadData()
    49.  
    50. File exists
    51. SaveDataManager:LoadHousesData()
    52. PlayerData:LoadData()
    53.  
    54. File exists
    55. SaveDataManager:LoadGaragesData()
    56. PlayerData:LoadData()
    57.