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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Resolution Note:
Fixed on PR https://github.cds.internal.unity3d.com/unity/com.unity.visualscripting/pull/427