Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
1
Question by NedMakesGames · Jul 28, 2020 at 02:01 AM · androidbuilddlldots

Cannot load "lib_burst_0_0" on Android builds

Hi everyone. I am trying to test my current project on Android. When running the apk, I receive the following error immediately after the Unity splash screen:


 D/Unity: Failed to load native plugin: Unable to lookup library path for 'lib_burst_0_0'.
 E/Unity: Unable to find lib_burst_0_0
 D/Unity: Failed to load native plugin: Unable to lookup library path for '_burst_0_0'.
 E/Unity: Unable to find _burst_0_0
 E/Unity: Baselib error: <stripped>: Out of memory (0x01000000) - Out of memory (errno:0x0000000c)
     UnityEngine.Logger:Log(LogType, Object)
     Unity.Collections.LowLevel.Unsafe.VirtualMemoryUtility:ReportWrappedBaselibError(BaselibErrorState)
     Unity.Entities._dlg_PlaybackChainChunk:EndInvoke(ArchetypeChanges&, ECBSharedPlaybackState&, IAsyncResult)
     Unity.Entities.EntityComponentStore:Create(EntityComponentStore*, UInt64, Int32)
     Unity.Entities.EntityDataAccess:Initialize(EntityDataAccess*, World)
     Unity.Entities.World:.ctor(String, WorldFlags)
     Unity.Entities.DefaultWorldInitialization:Initialize(String, Boolean)



  • I'm using Unity 2020.1.0f1 with Burst 1.4.0-preview.2 and Entities 0.13.0-preview.24

  • I'm using the JDK, Android SDK, etc. included with Unity.

  • My scene does load, but no DOTS related code runs. So, I can see static meshes, but cannot move the camera, and entities do not spawn.

  • I am testing this using a virtual device in Android Studio. I did make sure other apk's run correctly. When testing on a phone, I did not have access to the log, but the game screen looked the same as it does in the emulator (no DOTS code runs, etc).

  • The game does run correctly in editor and in a Windows standalone exe


I'm new to Android development, so sorry if this is a rookie mistake. I'm still pulling my hair out over it! Thank you for any help!

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image lclemens · Jul 29, 2020 at 04:49 PM 0
Share

I am getting very similar error messages. I have a very simple project - just one mesh, and one material running on a $$anonymous$$otorola X4.

unable to find lib_burst_0_0 and _burst_0_0 Vulkan - Out of memory!

The fbx mesh has: 13,122 vertices, 26,214 faces, 26,214 Tris, and 1 object.

Unity Editor 2020.1.0f1.

Burst 1.3.2, Collections 0.11.0-preview.17, Entities 0.13.0-preview.24, Hybrid Renderer 0.7.0-preview.24, Jobs 0.4.0-preview.18, $$anonymous$$athematics 1.1.0, Scriptable Build Pipeline 1.9.0, Shader Graph 9.0.0-preview.34, Universal RP 9.0.0-preview.35

avatar image NedMakesGames · Nov 07, 2020 at 03:18 AM 0
Share

Hi, just giving an update. I received a message from Unity on my bug report saying that this will be fixed in versions 2020.2.0b2 and later.

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by lclemens · Aug 03, 2020 at 06:44 PM

There is another solution.


I was unable to downgrade to Entities 0.11.1. I tried to do it through the package manager, but when I clicked the "Upgrade to 0.11.1" button (which is really a downgrade), the manager still said I have 0.13.0-preview.24. In contrast to the package manager GUI, my manifest.json file says it's using "0.11.1", which makes no sense at all. I think it won't let me downgrade because I am using Hybrid Renderer V2, which depends on 0.13.0-preview.24.


The other solution is to disable Multithreaded Rendering in Player Settings. Everything runs fine with that disabled, however, frame rates may drop :-(


EDIT

Since some people are reporting that disabling multithreaded rendering doesn't fix it, I decided to run some more tests.


I created a URP project in 2020.1.1, then removed the sample assets and disabled the post processing volume. Then I updated URP to 9.0.0-preview.35 and added hybrid renderer 0.7.0-preview.24 and enabled v2. Then I restarted the editor. At this point I had a completely EMPTY project with nothing but the skybox, a directional light (sun) and the default main camera+controller..


When running with multithreaded rendering disabled everything runs fine and this is the resulting logcat showing no crashes: https://drive.google.com/file/d/1hLZKJuWxaNErAOO61HpYyt9dgQ5VoQEb/view?usp=sharing


When running with multithreaded rendering enabled, it crashes after a couple of seconds and this is the resulting logcat: https://drive.google.com/file/d/1Pa4_GteYJsrEknmyB3aEQXaOLAaj0Kun/view?usp=sharing


I also ran a dev build with full logging/stack traces with multithreaded rendering enabled: https://drive.google.com/file/d/1jKITkdEvA3ZJAQrlhX0efDLALnZgxR-8/view?usp=sharing


And lastly, here is the logcat of a run with il2cpp and multithreaded rendering disabled: https://drive.google.com/file/d/1vHMeHrL8u_xx4-eD46Tl8keBw1WPtu9a/view?usp=sharing


I tried various combinations of .Net 2x/4x and mono/il2cpp. They all crashed. il2cpp seemed to have a different crash - instead of waiting a couple of seconds first, it would crash immediately, and most importantly, it crashed even without MTR enabled.


The documentation for hybrid renderer v0.7.0-preview.24 says: "Hybrid Renderer V2 is considered experimental in Unity 2020.1. We have validated it on Windows DX11, DX12, Vulkan and Mac Metal backends in both Editor and Standalone builds. Mobile device and console platform support will be validated in 2020.2."


They weren't kidding. Hybrid renderer v2 with il2cpp does NOT WORK AT ALL. Hybrid renderer v2 with mono scripting backend and multithreaded rendering disabled might work.


One of the Unity tutorials says "You should enable Multithreaded Rendering whenever possible, as it usually benefits performance greatly", so be aware that disabling MTR can cause poor performance. I suspect it will be years before hybrid renderer v2 is ready (if it doesn't get abandoned in favor of a pure entity version beforehand).

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image LevonVH · Aug 07, 2020 at 10:08 AM 0
Share

I have the same issue and I cannot downgrade the Entities package because I use Hybrid Renderer V2. Disabling $$anonymous$$ultithreaded Rendering has not solved it for me. I have no clue how to fix this. Any updates?

avatar image lclemens LevonVH · Aug 07, 2020 at 06:38 PM 0
Share

I don't know why disabling $$anonymous$$TR didn't work for you - see my answer to 11marcello11 below.

avatar image lclemens lclemens · Aug 10, 2020 at 06:11 PM 0
Share

Did you by chance happen to have il2cpp set as the scripting backend instead of mono?

avatar image 11marcello11 · Aug 07, 2020 at 10:48 AM 0
Share

Disabling $$anonymous$$ultithreaded Rendering has not solved it for me either... did you by any chance change something else too ?

avatar image lclemens 11marcello11 · Aug 07, 2020 at 06:37 PM 1
Share

No I didn't change anything else. I double-checked. I made a brand new project, added a mesh with a material, set hybrid renderer to V2, disabled multithreaded rendering, and built for Android. Everything worked. Then I enabled multithreaded rendering and recompiled for the phone and it crashed after a couple of seconds. Then I switched $$anonymous$$TR back off and it worked again.

When I check the logcat, there is the error about burst, but also I see "Vulkan - Out of memory!". I do not know if this is the same issue that Ned$$anonymous$$akesGames is having, but it seems pretty similar.

avatar image
0

Answer by NedMakesGames · Jul 28, 2020 at 08:01 PM

I was able to solve this by downgrading to Entities 0.11.1-preview.4


After posting this, I found that I could get a new project to run by removing the entities package. I then downgraded the entities package in my main project to 0.11.1. Then, the game ran correctly. I still saw the "Unable to find lib_burst_0_0" errors, but the "out of memory" error was gone.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image signalsaudio · Aug 02, 2020 at 02:40 PM 0
Share

Can confirm these findings - also had this problem w/ Oculus Quest.

Also had to drop down to Entities 0.11.1-preview.4 to get ECS to run in-game. Other non-Android builds and in Unity ECS works fine.

alt text

Unsure of that actual Lib_Burst error though... lol.

errors.png (430.5 kB)

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

369 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

is possible build for a specific version of android? 0 Answers

Building APK is taking an absurdly long amount of time 3 Answers

Android permissions requested only from cloud build 3 Answers

Texture compression for Android devices 0 Answers

Gradle build: Could not compile build.gradle error 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges