Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.1f1
Issue ID
954397
Regression
No
[OSX] [.NET4.6] VS fails to find System.Runtime.CompilerServices.ExtensionAttribute when using pointer argument in method
To reproduce:
1. Open project
2. Open and run 'Extension' script in VS
3. Repeat 3rd step using MonoDevelop
Expected: both times scripts will run without errors
Actual: When trying to run on VS an error is thrown:
'Error CS1110: Cannot define a new extension method because the compiler required type 'System.Runtime.CompilerServices.ExtensionAttribute' cannot be found. Are you missing a reference to System.Core.dll? (CS1110)'
Reproduced on: 2017.1.0b4, 2017.1.1p3, 2017.2.0f1, 2017.3.0b2
Not reproducible: 2017.1.0b2
Regression introduced between 2017.1.0b2- 2017.1.0b4
Note:
• Not reproducible on Windows
• Reproducible only when scripting runtime is set to .NET4.6
Comments (1)
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
- [iOS] Final Image misaligned when using "ScalableBufferManager.ResizeBuffers" to resize
- GameObjects are not updating when Materials and Cubemaps are updated from Environmental Reflections
- "Lens Flare (SRP)" Component is missing documentation link
- Reflection problems when unbaked Reflection Probes are present
- Light Explorer columns sorting arrow is too small
Errorsatz
Oct 12, 2017 22:37
Why is this marked as "Won't Fix"? It breaks debugging from VS on Mac. That's a pretty significant problem!