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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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!