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

Bug Internal: JobTempAlloc

Discussion in 'iOS and tvOS' started by Rachan, Mar 19, 2023.

  1. Rachan

    Rachan

    Joined:
    Dec 3, 2012
    Posts:
    759
    Hi there!

    I was run my game from Unity 2021.3.16f1 on iPad mini2 by xcode 14
    But when I changing a scene it freezed and stop working!
    and just show this message in xcode console,

    "Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak
    Internal: deleting an allocation that is older than its permitted lifetime of 4 frames (age = 14)"


    I don't know what happen?, it only happen if I played a game so long time about 30 min++
    anyone have this answer?

    Thanks!!!
     
  2. DevDunk

    DevDunk

    Joined:
    Feb 13, 2020
    Posts:
    4,971
    1. Do you use the jobs system or burst?
    2. Did you try the latest Unity version?
     
    Rachan likes this.
  3. Rachan

    Rachan

    Joined:
    Dec 3, 2012
    Posts:
    759
    Oh! I don't even know what the jobs system or burst is,

    and at first I used Unity 2022.1.02b or something with(b), But it always have some error in editor about repaint or something, sometime it just freeze and close my project,
    But it can build and run without any issue,

    So I roll back to 2021 LTS and the repaint issue was gone, But I having this new issue about device memories,
    even project is still the same without change anything.