Search Issue Tracker
Duplicate
Votes
0
Found in
2017.1.0f3
Issue ID
930813
Regression
No
MonoDevelop throws errors when being attached to Unity projects with .NET 4.6
Reproduction steps:
1) Create or open already existing project
2) Switch your code editor to MonoDevelop
3) Change project Scripting Runtime Version to .NET 4.6
4) Create script and open it with MonoDevelop (double click on a script)
5) Try to attach MonoDevelop to Unity
-- Notice that attaching failed with errors in MonoDevelop:
MacOS has 31 errors - each error is about System class. https://gyazo.com/16cb104d342b11b04bd7e251995919fd
Windows has only 1 error:
Error CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default (CS1617) (Assembly-CSharp)
Reproduced with:
2017.1.0b1, 2017.2.0b3
Unity 5.6 doesn't have .NET 4.6
Tested on Windows and MacOS
Comments (1)
-
PhilippCh
Jul 26, 2017 19:24
You'll need to use MonoDevelop-Unity 6.x (which is in Preview right now) for debugging to work properly:
https://forum.unity3d.com/threads/monodevelop-unity-6-x-preview-builds.472058/
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #907393