Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Metal memory allocation limit? EXC_RESOURCE RESOURCE_TYPE_MEMORY

Discussion in 'iOS and tvOS' started by dotsquid, Mar 31, 2021.

  1. dotsquid

    dotsquid

    Joined:
    Aug 11, 2016
    Posts:
    224
    One of the Unity apps crashes on iPad 6th gen with 8GB of RAM with the following message
    EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=1450 MB, unused=0x0)

    Googling resulted in no reasonable answers, but I found a clew that it somehow may be related to the Metal memory allocation limit (however I doubt that).
    How to know for sure what is the reason of this behavior? And is there a way to use the full (or almost the full) device memory since only 1450MB usable out of available 8GB looks weird and totally not fun.
    This happens on Unity 2019.4.19.
     
    Last edited: Apr 13, 2021
  2. dotsquid

    dotsquid

    Joined:
    Aug 11, 2016
    Posts:
    224