Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

Bug Android build crash with no burst libs

Discussion in 'Burst' started by XuPoH, Nov 8, 2020.

  1. XuPoH

    XuPoH

    Joined:
    Oct 4, 2014
    Posts:
    13
    Component Version:
    Unity 2020.1.12f1
    Entities 0.16.0-preview.21
    Hybrid renderer 0.10.0-preview.21
    Platf. android 0.9.0-preview.9
    Unity physics 0.5.1-preview.2

    Problem: android build crashes on load, logs say its because of lack of burst libraries

    Steps to reproduce:
    1) get official dots unity samples installed (IForEach, Spawn system, etc.)
    2) write your own valid code over the samples
    3) run an android build
    4) see some warning messages in the console
    (Unable to find player assembly: UnityEngine.TestRunner.dll and another one dll file)
    5) connect your android device
    6) enable logcat with filtering
    7) watch the app crash as the initialization gets to burst libs loading
    2020.11.07 18:39:22.032 8032 8057 Error Unity Unable to find _burst_0_0, lib_burst_0_0

    I can provide as much feedback as needed!
     
  2. XuPoH

    XuPoH

    Joined:
    Oct 4, 2014
    Posts:
    13
    java.lang.Error: FATAL EXCEPTION [UnityMain]
    Unity version : 2020.2.0b10
    Device model : Xiaomi Redmi Note 8T
    Device fingerprint: xiaomi/willow_eea/willow:10/QKQ1.200114.002/V12.0.1.0.QCXEUXM:user/release-keys
    Build Type : Release
    Scripting Backend : Mono
    ABI : armeabi-v7a
    Strip Engine Code : false

    Caused by: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
    Version '2020.2.0b10 (19f63eee530c)', Build type 'Release', Scripting Backend 'mono', CPU 'armeabi-v7a'
    Build fingerprint: 'xiaomi/willow_eea/willow:10/QKQ1.200114.002/V12.0.1.0.QCXEUXM:user/release-keys'
    Revision: '0'
    ABI: 'arm'
    Timestamp: 2020-11-08 15:12:14+0300
    pid: 23562, tid: 23584, name: UnityMain >>> com.DefaultCompany.NewUnityProject <<<
    uid: 10327
    signal 7 (SIGBUS), code 1 (BUS_ADRALN), fault addr 0xb3d3acdb
    r0 b69ec15c r1 6db9f49f r2 b3d3ac6c r3 3f800000
    r4 073c79ea r5 b3d3acd3 r6 00f6faa9 r7 b69ec0d0
    r8 a8160a61 r9 5e82bced r10 9e3779f9 r11 b3d3ac6c
    ip 48c60650 sp c1db9734 lr 2edff3d2 pc b3d2e5a2

    backtrace:
    #00 pc 000a75a2 /data/app/com.DefaultCompany.NewUnityProject-S4GXZ5G5p8vAmSjEa5pDXw==/lib/arm/lib_burst_generated.so (Unity.Physics.Authoring.HashUtility.Hash128(void* ptr, int length)_1C81E2798FDD6681.606+4818) (BuildId: 80debeccbe30d3fb285586095e3c29bbeba95bcf)
    #01 pc 000a1ef7 /data/app/com.DefaultCompany.NewUnityProject-S4GXZ5G5p8vAmSjEa5pDXw==/lib/arm/lib_burst_generated.so (15789d53d2c214960a01991e02af4ad9+918) (BuildId: 80debeccbe30d3fb285586095e3c29bbeba95bcf)
    #02 pc 0032c687 /data/app/com.DefaultCompany.NewUnityProject-S4GXZ5G5p8vAmSjEa5pDXw==/lib/arm/libunity.so (BuildId: 3a5a2b4de2ce416591372fefe6bad594f2695a4a)
    #03 pc 0032c8f5 /data/app/com.DefaultCompany.NewUnityProject-S4GXZ5G5p8vAmSjEa5pDXw==/lib/arm/libunity.so (BuildId: 3a5a2b4de2ce416591372fefe6bad594f2695a4a)
    #04 pc 0032a64d /data/app/com.DefaultCompany.NewUnityProject-S4GXZ5G5p8vAmSjEa5pDXw==/lib/arm/libunity.so (BuildId: 3a5a2b4de2ce416591372fefe6bad594f2695a4a)
    #05 pc 0032a82b /data/app/com.DefaultCompany.NewUnityProject-S4GXZ5G5p8vAmSjEa5pDXw==/lib/arm/libunity.so (BuildId: 3a5a2b4de2ce416591372fefe6bad594f2695a4a)
    #06 pc 0032b271 /data/app/com.DefaultCompany.NewUnityProject-S4GXZ5G5p8vAmSjEa5pDXw==/lib/arm/libunity.so (BuildId: 3a5a2b4de2ce416591372fefe6bad594f2695a4a)
    #07 pc 00329c1d /data/app/com.DefaultCompany.NewUnityProject-S4GXZ5G5p8vAmSjEa5pDXw==/lib/arm/libunity.so (BuildId: 3a5a2b4de2ce416591372fefe6bad594f2695a4a)
    #08 pc 0043a239 /data/app/com.DefaultCompany.NewUnityProject-S4GXZ5G5p8vAmSjEa5pDXw==/lib/arm/libunity.so (BuildId: 3a5a2b4de2ce416591372fefe6bad594f2695a4a)
    #09 pc 00004786 <anonymous:d3143000>

    managed backtrace:
    #00 (wrapper managed-to-native) Unity.Jobs.JobHandle:ScheduleBatchedJobsAndComplete (Unity.Jobs.JobHandle&)
    #01 Unity.Jobs.JobHandle:Complete () <0x37>
    #02 Unity.Physics.Authoring.BaseShapeConversionSystem`1<T_REF>:GenerateShapesHash (Unity.Collections.NativeArray`1<Unity.Entities.Hash128>) <0x1d3>
    #03 Unity.Physics.Authoring.BaseShapeConversionSystem`1<T_REF>:OnUpdate () <0x527>
    #04 Unity.Entities.ComponentSystem:Update () <0xbb>
    #05 Unity.Entities.ComponentSystemGroup:UpdateAllSystems () <0x1e3>
    #06 Unity.Entities.ComponentSystemGroup:OnUpdate () <0x27>
    #07 Unity.Entities.ComponentSystem:Update () <0xbb>
    #08 Unity.Entities.GameObjectConversionUtility:Convert (Unity.Entities.World) <0xc7>
    #09 Unity.Entities.ConvertToEntitySystem:Convert () <0x423>
    #10 Unity.Entities.ConvertToEntitySystem:OnUpdate () <0x37>
    #11 Unity.Entities.ComponentSystem:Update () <0xbb>
    #12 Unity.Entities.ComponentSystemGroup:UpdateAllSystems () <0x1e3>
    #13 Unity.Entities.ComponentSystemGroup:OnUpdate () <0x27>
    #14 Unity.Entities.ComponentSystem:Update () <0xbb>
    #15 Unity.Entities.ScriptBehaviourUpdateOrder/DummyDelegateWrapper:TriggerUpdate () <0x37>
    #16 (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)

    at lib_burst_generated.Unity.Physics.Authoring.HashUtility.Hash128(void* ptr, int length)_1C81E2798FDD6681.606(Unity.Physics.Authoring.HashUtility.Hash128:4818)
    at lib_burst_generated.15789d53d2c214960a01991e02af4ad9(15789d53d2c214960a01991e02af4ad9:918)
    at libunity.0x32c687(Native Method)
    at libunity.0x32c8f5(Native Method)
    at libunity.0x32a64d(Native Method)
    at libunity.0x32a82b(Native Method)
    at libunity.0x32b271(Native Method)
    at libunity.0x329c1d(Native Method)
    at libunity.0x43a239(Native Method)
    at Unity.Jobs.JobHandle.ScheduleBatchedJobsAndComplete (Unity.Jobs.JobHandle&)(Native Method)
    at Unity.Jobs.JobHandle.Complete ()(0x37:55)
    at Unity.Physics.Authoring.BaseShapeConversionSystem<T_REF>.GenerateShapesHash (Unity.Collections.NativeArray`1<Unity.Entities.Hash128>)(0x1d3:467)
    at Unity.Physics.Authoring.BaseShapeConversionSystem<T_REF>.OnUpdate ()(0x527:1319)
    at Unity.Entities.ComponentSystem.Update ()(0xbb:187)
    at Unity.Entities.ComponentSystemGroup.UpdateAllSystems ()(0x1e3:483)
    at Unity.Entities.ComponentSystemGroup.OnUpdate ()(0x27:39)
    at Unity.Entities.ComponentSystem.Update ()(0xbb:187)
    at Unity.Entities.GameObjectConversionUtility.Convert (Unity.Entities.World)(0xc7:199)
    at Unity.Entities.ConvertToEntitySystem.Convert ()(0x423:1059)
    at Unity.Entities.ConvertToEntitySystem.OnUpdate ()(0x37:55)
    at Unity.Entities.ComponentSystem.Update ()(0xbb:187)
    at Unity.Entities.ComponentSystemGroup.UpdateAllSystems ()(0x1e3:483)
    at Unity.Entities.ComponentSystemGroup.OnUpdate ()(0x27:39)
    at Unity.Entities.ComponentSystem.Update ()(0xbb:187)
    at Unity.Entities.ScriptBehaviourUpdateOrder.DummyDelegateWrapper.TriggerUpdate ()(0x37:55)
    at System.Object.runtime_invoke_void__this__ (object,intptr,intptr,intptr)(Native Method)
     
  3. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,167
    If you could share logcat, that would be most helpful.
    "Unable to find burst_0_0" is likely not an indication of an error, but full logcat will help to understand the issue!
     
  4. XuPoH

    XuPoH

    Joined:
    Oct 4, 2014
    Posts:
    13
    Done
     

    Attached Files:

  5. Yury-Habets

    Yury-Habets

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    1,167