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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
Resolution Note:
Fixed on PR https://github.cds.internal.unity3d.com/unity/com.unity.visualscripting/pull/427