Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug "Abort enlarge memory arrays" Error / Blackscreen on Iphone XS and Iphone 8

Discussion in 'Project Tiny' started by Spectrellian, Nov 10, 2020.

  1. Spectrellian

    Spectrellian

    Joined:
    Mar 8, 2015
    Posts:
    27
    Hey I wanted to test my webassembly Build on my 2 Iphones but this error keeps appearing:
    Any ideas? I enabled wasm Memory Growth and increased the memory but this only caused the game to blackscreen after around 15 seconds...
     
    Last edited: Nov 10, 2020
  2. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Is this develop or release build?
    Make sure to add Il2cpp settings and disable script debugger
    so that the debugger won't consume any extra resources
    upload_2020-11-10_8-26-39.png
     
  3. Spectrellian

    Spectrellian

    Joined:
    Mar 8, 2015
    Posts:
    27
    Tested it for WASM and AsmJS but sadly it still goes into a blackscreen after a few seconds.
    Tested both with Develop builds and Release Builds. Both had script debugging disabled.

    It seems like the game is still running in the background but is unplayable because of the black screen. Some collisions clear it up for a few seconds but after that the screen goes dark again.

    This is my current Build configuration:
     
    Last edited: Nov 11, 2020
  4. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Black screen means a different issue
    So does your camera move at all?
    if so, make sure that the logic to move it is correct.
    I suggest changing the camera background color to something obvious like red and verify that it's rendering all the time and you don't see any black screens
    also when you do that make sure the alpha is 255
    upload_2020-11-16_16-5-46.png