Search Issue Tracker
By Design
By Design in 6000.5.X
Votes
0
Found in
6000.0.62f1
6000.2.12f1
6000.3.0b10
6000.4.0a4
6000.5.0a1
Issue ID
UUM-127544
Regression
No
"Error CS7069" thrown when Assembly Definition Asset platform is set to Editor only
How to reproduce:
1. Open attached project "IN-123923"
2. In Project Panel enter EditorPackage folder and select EditorPackage
3. In the Inspector uncheck "Any Platform", select only Editor then press Apply
4. Observe Console
Expected result: No errors appear in console
Actual result: “error CS7069: Reference to type 'ReadOnlySpan<>' claims it is defined in 'mscorlib', but it could not be found” appears in console
Reproducible with: 2023.1.0a3, 6000.0.62f1, 6000.2.12f1, 6000.3.0b10, 6000.4.0a4, 6000.5.0a1
Reproducible on: Windows 11
Not reproducible on: No other environments tested
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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
Resolution Note:
Thank you for reporting a bug to Unity.
Unfortunately this isn't something we'd be able to address at this time. It seems that setting the Project Setting in the Editor to .Net Standard 2.1 fixes this issue.
Resolution Note (6000.5.X):
Thank you for reporting a bug to Unity.
Unfortunately this isn't something we'd be able to address at this time. It seems that setting the Project Setting in the Editor to .Net Standard 2.1 fixes this issue.