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

Question Trying to create an .apk for android, using the ECS, but the build crashes due to Burst.

Discussion in 'Burst' started by Monte1312, Sep 7, 2020.

  1. Monte1312

    Monte1312

    Joined:
    Sep 9, 2015
    Posts:
    5
    Hello, I'm new to DOTS, I mainly started using it because of the determinism in its physics, which are needed for a project I'm working on.
    Because I'm new I started working on a new project in Unity 2019.3.14f1 and added the Entities, Jobs, Unity Physics and Burst Packages.
    And the scene in itself is just a couple of geometries with physical bodies, but when building the .apk to test on a device the process crashes and trhow these errors:
    upload_2020-9-7_17-12-33.png

    But when I dsable the Burst Compilation in the AOT settings, the errors stop and the build is done succesfully.
    Still I want to know why the errors happen because Burst maybe helpfull down the road.

    I found in a thread that maybe uncheckin and checking the Android NDK helps, but it doesn't do it form.
    Thanks.
     
  2. Opeth001

    Opeth001

    Joined:
    Jan 28, 2017
    Posts:
    1,068
    I don’t know what the error means, but for me everything works with burst on Android. I’m using the latest version of Dots packages: Burst, Entities .... I’m using the latest Unity editor version in 2019.4.x .
    Try this config and see if it works.
    If not, try reconstructing your entire project by creating a new one using your Assets folder, this may take a lot of time depending on your project size but at least you will be sure it’s not coming from some package cache or project wrong data files.
     
    Monte1312 likes this.
  3. sheredom

    sheredom

    Unity Technologies

    Joined:
    Jul 15, 2019
    Posts:
    300
  4. Monte1312

    Monte1312

    Joined:
    Sep 9, 2015
    Posts:
    5
    The thing is that I need to work with 2019.3.14f because of some other packages that I'm using that would have issues if I update the project version. I'll give the reconstrucion a try, thanks.
     
  5. Monte1312

    Monte1312

    Joined:
    Sep 9, 2015
    Posts:
    5
    Here's the log, hope it helps shine a light to this.
    Also I think I didn't mention it before, but because I'm not using the latest unity3D version, I'm also not using the newest packages (Physics, Entities, etc) I'm using previous ones from around May 2020
     

    Attached Files: