Search Issue Tracker
Fixed
Votes
3
Found in [Package]
1.7.2
1.7.3
Issue ID
UVSB-1648
Regression
Yes
"'ReadOnlySpan<>' does not exist in the namespace 'System'" error is thrown when building for WebGL and using Visual Scripting
How to reproduce:
1. Create a new project using the default 3D template
2. Import the 'Visual Scripting' package
3. In the Project Window, create a new Script Graph (Create->Visual Scripting->Script Graph)
4. Open the created Asset (Double-click)
5. In the Build Settings, switch to the WebGL Platform
6. Make a build
7. Wait for the process to finish
8. Inspect the Console Window
Expected result: The Player is built successfully
Actual result: Build fails as multiple "The type or namespace name 'ReadOnlySpan<>' does not exist in the namespace 'System'" errors are thrown
Reproducible with: 2021.2.0a18, 2021.2.0b1
Not reproducible with: 2021.1.13f1, 2021.2.0a17
Couldn't test with: 2018.4.36f1, 2019.4.28f1, 2020.3.13f1 (Visual Scripting package is not available in Package Manager)
Note:
- Errors cannot be cleared after the Build
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
- “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
Resolution Note:
Fixed on PR https://github.cds.internal.unity3d.com/unity/com.unity.visualscripting/pull/427