Search Unity

Bug App using ECS Crash on 32-bit OS Android if apk is built using IL2CPP,while Mono build WON'T crash.

Discussion in 'Entity Component System' started by unity_8D0DE2921A1DFD3E15D2, Jun 7, 2023.

  1. unity_8D0DE2921A1DFD3E15D2

    unity_8D0DE2921A1DFD3E15D2

    Joined:
    Mar 27, 2023
    Posts:
    3
    I used 2022.3.0f1 URP sample scene to create a very simple Scene, using ECS sample code Spawner.cs SpawnerSystem.cs and SpawnerAuthoring.cs which is Copied from Official Manual,created a subscene and create a gameobject to add the component SpawnerAuthoring.
    Then I chose ARMv7 to Create an apk On My 32-bit OS Android Mobile Phone. The Mono apk will run successfully on my Phone. But the il2cpp apk will crash when the ECS is Calling AddSystem or something like initializing, it would crash after the Unity Logo Splash was showed,before one single frame can be rendered to screen.
    I think something is wrong with il2cpp on 32-bit Android OS.Do someone have the same problem?Or is it a known issue?
    I Reported the Bug: IN-43113
     
    ANU_CHEEKI_BREEKI and zengke_119 like this.
  2. unity_8D0DE2921A1DFD3E15D2

    unity_8D0DE2921A1DFD3E15D2

    Joined:
    Mar 27, 2023
    Posts:
    3
    I need power, more power.
     
    ANU_CHEEKI_BREEKI and zengke_119 like this.
  3. unity_8D0DE2921A1DFD3E15D2

    unity_8D0DE2921A1DFD3E15D2

    Joined:
    Mar 27, 2023
    Posts:
    3
    ANU_CHEEKI_BREEKI likes this.