Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.3.4f1
2022.1.4f1
2022.2.0a16
Issue ID
UUM-7866
Regression
No
WebGL Player crashes when Directional Light has a Cookie attached
Reproduction steps:
1. Create a new "3D Sample Scene (URP)" project
2. Select the "Directional Light" GameObject in the Hierarchy window
3. Attach any Cookie to the Light Component in the Inspector window
4. Switch Platform and then Build And Run the project using WebGL (File > Build Settings > WebGL)
5. Observe the WebGL Player behavior
Expected result: Player should run as normal
Actual result: Player crashes
Reproducible with: 2021.3.4f1, 2022.1.4f1, 2022.2.0a16
Could not test with: 2019.4.39f1, 2020.3.35f1 (Cookie property on the Light Component is not present)
Reproducible on: Windows 10 (21H2)
Not reproducible on: MacOS 12.4
Note: after a lot of testing I found that this issue is sometimes not reproducible
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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note:
I was unable to reproduce the issue on 2021.3 or 2023.1 after multiple attempts.