Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
1
Found in
2021.2
Issue ID
1337939
Regression
Yes
The new incremental builder fails to build projects with jslib or C++ plugins
If a package has a jslib or c++ plugin, Unity fails when building for WebGL.
The jslib path points to Package/* instead of Library/Package@version/*.
1. Create a new project.
2. Open Package Manger, add Analytics Library package.
3. Switch to WebGL in the Build Settings.
4. Build, and it will fail during the build process.
C++ plugins fail because the cpp file is copied to the Library folder, but headers are not, and this causes the headers to not be found during compilation.
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
stroibot
Oct 09, 2023 12:57
2021.3.23f1 reproduces
pajamajama
May 26, 2022 20:56
Still happening in 2021.3
oukaichimon
Oct 26, 2021 19:28
Please Fix this bug.