Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.4
2019.4.20f1
2020.2
Issue ID
1320502
Regression
No
Compilation error is not shown in the Console window when using generic type
Reproduction steps:
1. Open the attached "case_1320502" project
2. Open the "ResourceImageDownloader_1.cs" script
3. Note that the IDE shows a compilation error at line 10
4. Open the Editor and observe the Console window
Expected result: a compilation error is logged in the Console window
Actual result: the error is not shown in the Console window
Reproducible with: 2018.4.33f1, 2019.4.23f1, 2020.2.0a11
Not reproducible with: 2020.2.0a12, 2020.3.3f1, 2021.1.0f1, 2021.2.0a10
The expected error message:
Assets\ResourceImageDownloader_1.cs(10,13): error CS8761: Operator '==' cannot be applied to 'default' and operand of type 'T' because it is a type parameter that is not known to be a reference type
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
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note (2019.4.24f1):
The issue is no longer reproducible in 2020.2.0a12 and above