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.

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

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

  1. Zindea

    Zindea

    Joined:
    Mar 8, 2015
    Posts:
    25
    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. Zindea

    Zindea

    Joined:
    Mar 8, 2015
    Posts:
    25
    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