Search Issue Tracker
Fixed
Fixed in 2021.3.26f1
Votes
0
Found in
2021.3.25f1
Issue ID
UUM-35577
Regression
No
Error when building WebGL project with .NET dll which uses ReadOnly structs
Reproduction steps:
1. Open the attached project “ErrorRepro“
2. Open File > Build Settings and Switch Platform to WebGL
3. Build and Run
4. Observe the console
Expected result: The player is built
Actual result: Error is thrown
Reproducible with: 2021.3.25f1, 2022.2.4f1
Not reproducible with: 2023.1.0b15
Fixed in: 2022.2.5f1
Couldn’t test with: 2020.3.48f1 - “error CS1705: Assembly 'EdjCase.ICP.Candid' with identity 'EdjCase.ICP.Candid, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' uses 'netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' which has a higher version than referenced assembly 'netstandard' with identity 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'“, 2023.2.0a15 - “error CS0029: Cannot implicitly convert type 'UnityEngine.Vector4[]' to 'UnityEngine.Vector2[]'“
Reproducible on: Windows 10, Windows 11
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment