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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Crash on startup in MarkObjectAsRoot()

Discussion in 'Android' started by Logopolis, Aug 2, 2018.

  1. Logopolis

    Logopolis

    Joined:
    Feb 18, 2015
    Posts:
    27
    I updated from 2017.3 to 2018.2, and now Android builds crash upon startup (black screen after splash screen) with the following call stack:

    0 libunity.so 0x00000000a1bda0fc MarkObjectAsRoot(Object const&, GarbageCollectorThreadState&)
    1 libunity.so 0x00000000a1583fb8 GameObject::MarkGameObjectAndComponentDependencies(GarbageCollectorThreadState&) const
    2 libunity.so 0x00000000a1bd9498 GarbageCollectSharedAssets(bool, bool)
    3 libunity.so 0x00000000a1dcae48 UnloadUnusedAssetsOperation::IntegrateMainThread()
    4 libunity.so 0x00000000a1dc9ff0 PreloadManager::UpdatePreloadingSingleStep(PreloadManager::UpdatePreloadingFlags, int)
    5 libunity.so 0x00000000a1dca658 PreloadManager::WaitForAllAsyncOperationsToComplete()
    6 libunity.so 0x00000000a14639d0 UnityPlayerLoop()
    7 libunity.so 0x00000000a14671a4 nativeRender(_JNIEnv*, _jobject*)
    8 mnt@asec@com.IronZog.WarOfConquest-11@base.apk@classes.dex0x00000000a307866b <unknown>

    This same crash occurs whether I build using mono or il2cpp. Any ideas on how to solve this?
     
  2. WILEz1975

    WILEz1975

    Joined:
    Mar 23, 2013
    Posts:
    368
    Same problem.
    No errors (also checked with the monitor.bat of the Android Studio tools). :(
     
  3. Logopolis

    Logopolis

    Joined:
    Feb 18, 2015
    Posts:
    27
  4. Logopolis

    Logopolis

    Joined:
    Feb 18, 2015
    Posts:
    27