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
- Duplicate External Textures start appearing when a Texture created with "CreateExternalTexture" is modified causing Memory Usage spikes on VisionOS
- Silent crash when using a "Blend Shape" in a "Skinned Mesh Renderer" to move vertices to Vector3.positiveInfinity, and "Occlusion Culling" is baked
- Some Prefab Source and Override content bounds are misaligned
- The Package Manager's "install packages by..." panels break when Domain Reload is triggered, and the panel is open
- Crash with multiple stack traces when leaving a docked VFX Graph open
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.