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

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.