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.

ECS Physics works correctly in editor but crash in android

Discussion in 'Physics for ECS' started by Opeth001, Apr 21, 2019.

  1. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    986
    Hey guys,
    Im moving my characters using PhysicsShape & PhysicsBody as a dynamic and it's working correctly in editor but each time i try it on device the game is ok until the character collides with the ground.
     
  2. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    909
  3. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    986
    :(
    Hope they will fix it into the next release.
     
  4. Ospa

    Ospa

    Joined:
    Nov 27, 2012
    Posts:
    10
    I was experiencing this same issue on Honor 8 with Oreo. App froze when object touched ground.

    Tweaked just about everything and managed to make it work by targeting only ARM64 devices
     
  5. RBogdy

    RBogdy

    Joined:
    Mar 6, 2019
    Posts:
    60
    I raised a bug (Case 1162345) for this issue (Android logcat was showing some Burst error) however after providing a repo for testing, there were no more replies
     
    Opeth001 likes this.
  6. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    986
    hope they will fix it!
     
  7. MilanPolleOrdina

    MilanPolleOrdina

    Joined:
    Feb 6, 2017
    Posts:
    2
    I seem to be experiencing the same thing on the HoloLens. I have a manipulation handler script on an object with a rigidbody and collider, so I can drag the object around and have it collide with the spatial mesh (3D scanned environment). When the object touches the ground, all graphics disappear, the debugger doesn't notice anything.
     
  8. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    986
    im using Unity 2019.1.8f1 and everything seems working correctly for me.
    try building using IL2CPP it fixed all my Problems.
     
  9. RBogdy

    RBogdy

    Joined:
    Mar 6, 2019
    Posts:
    60
    @Opeth001 My project with Unity Physics works on Android now; following the release of [0.2.0 - preview] version
     
    Opeth001 likes this.
  10. MilanPolleOrdina

    MilanPolleOrdina

    Joined:
    Feb 6, 2017
    Posts:
    2
    Sorry for the late reply. I've been using Unity 2019.1, for the HoloLens you can't even select anything else than IL2CPP anymore.
     
  11. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    986
    Yes cause Google Play do not accept any APK without the 64bit version anymore.
     
    Last edited: Jul 31, 2019