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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.