Search Issue Tracker
Fixed
Fixed in 2021.3.39f1, 2022.3.28f1, 6000.0.0f1
Votes
1
Found in
2021.3.36f1
2022.3.23f1
6000.0.0b13
Issue ID
UUM-67705
Regression
Yes
JSPRE files are not included when building for WebGL
Reproduction steps:
1. Open the attached “JSPRE Example.zip” project
2. Build and Run for WebGL (File → Build and Run)
3. Observe the Player in the browser and turn on Developer Tools (press F12)
Expected result: No errors are thrown in the Player and “TestCall has been called successfully!" log is visible in the Browser console
Actual result: An error is thrown in the Player and "ReferenceError: PreTestCall is not defined at _TestCall" log is visible in the Browser console
Reproducible with: 2021.3.35f1, 2021.3.36f1, 2022.1.0a11
Not reproducible with: 2021.3.34f1, 2022.3.22f1, 2023.2.16f1, 6000.0.0b13
Fixed in: 2022.1.0a12
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- Replacing the {{PlaybackEngines/WebGLSupport/WebGLPlayerBuildProgram.exe}} in 2021.3.35f1 with the executable from 2021.3.34f1, makes the project build with no errors
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Visual Effects "Attributes" subsections can be expanded and collapsed when navigating with arrow keys
- [LinuxEditor] Child GameObject remains highlighted in the Hierarchy when selecting its new parent in the Scene View
- Deleting USS while it is opened in UI Builder corrupts the UXML file
- Toggling 'Editor Extension Authoring' doesn't dirty the UXML but its state depends on how it was previously saved
- Shader variants are stripped when they are not used during Player building
Add comment