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

WebGL

-

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 (1)

  1. 30a4b2072cf9fffdf768ebb65c53f390?d=mm

    oukaichimon

    Oct 26, 2021 19:28

    Please Fix this bug.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.