Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3.2f1
2020.2
Issue ID
1228541
Regression
No
Console window doesn't show an informative compilation error when the "in" method parameter modifier is used in the method call
How to reproduce:
1. Open the attached project
2. Open the Console window
Expected result: Console window shows the specific compiler error
Actual result: Console window shows "Microsoft (R) Visual C# Compiler version 2.9.1.65535 (9d34608e)" message which doesn't specify the compiler error
Reproducible with: 2018.4.20f1, 2019.3.8f1, 2020.1.0b3, 2020.2.0a5
Could not test with: 2017.4.39f1 and earlier ('readonly references' is not available in C# 6)
Notes:
-This was reproducible using JetBrains Rider
-Removing the "in" parameter modifier at line 11 of "MyBehaviourScript.cs" and recompiling solves the issue
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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
Resolution Note:
The fix involves updating the C# compiler, or at least revamp the whole C# compiler message parsing system (if it is ok to just show an error).
Both are non-trivial change with too much risk to do.