Build issues in 2021.2.0b9
See original GitHub issueSo, I was trying to build the project in beta 9 for WebGL, getting this error:
emcc2: error: Packages/com.atteneder.draco/Runtime/Plugins/WebGL/libdracodec_unity.a: No such file or directory ("Packages/com.atteneder.draco/Runtime/Plugins/WebGL/libdracodec_unity.a" was expected to be an input file, based on the commandline arguments provided)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun () (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindow.cs:179)
First happened in my main project, then also tried after freshly importing gltFast and Draco into a new project in a simple test project.
(First tried 4.0.0-preview.1
then 4.0.0-preview.3
both with the same error)
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Unity 2021.2.0b9
Known Issues in 2021.2.0b9. Asset Importers: Editor crashes on UnityEditor.Unsupported:IsDestroyScriptableObject when applying changes to a ...
Read more >Error when build with Unity 2021.2.0b12.3482
I build this project (it's upgraded from 2021.2.0b9) it gets errors. I also tried build it with 2021.2.0b9 and it gets the same...
Read more >Missing IL2CPP methods errors are thrown on every new ...
2021.2. 2021.2.0b9. 2022.1. Issue ID ... Using IL2CPP stripping engine with medium stripping builds project successfully with no errors but ...
Read more >Android build fails when using ArmV7 Target Architecture
2021.2. 2021.2.0b9. Issue ID ... Actual result: Build fails with ARMv7 Target Architecture. Reproducible with: 2021.2.0b8, 2021.2.0b11
Read more >4. Release Notes - Crest Ocean System
Fix 2021.2.0b9 shader compile errors. HDRP. Fix ocean material properties missing for 2021.2 material inspector. HDRP. Fix outline around refracted objects ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I just tested and successfully built with DracoUnity 4.0.0-preview.3 and Unity 2021.2.0b11. You have to use version 4 or later for 2021.2 or later!
If you installed via GIT URL or cloned the DracoUnity repository and added the package locally, please make sure you followed the GIT LFS install instructions.
DracoUnity/Runtime/Plugins/WebGL/libdracodec_unity.a
has to have ~6.7MB, otherwise it won’t work.Feel free to re-open if the issue persists
@TeryBuster that error seems to be specific to your mesh, the issue in this thread is more about that in
2021.2.0b9
a project with Draco doesn’t build at all, so I don’t even get to try anything (due to changes in the Unity 2021 beta build). In2021.1.17f1
and before the package itself seemed to build and my simple test meshes also worked.In a different scenario I had, it helped @atteneder to have the actual test mesh that causes the error, so he can debug it.