Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2019.4
2020.3
2021.1
Issue ID
1341835
Regression
No
Incremental compilation is done against IL-post processed assemblies, potentially causing compilation deadlocks
I heard through the grapevine that this might be fixed in 21.1 due to the new pipeline using Bee. I'll have to test that a bit later!
How to reproduce:
1. Open attached project "pp_compilation_repro.zip"
2. In Project select Assets/MyRepro.cs and Reimport
3. Observe Console window
Expected result: No compilation errors
Actual result: "The type 'TheFeature' cannot be used as type parameter 'T' in the generic type or method 'SomeFeature.SomeUnconstrainedAPI<T>()'" error
Reproducible with: 2019.4.29f1, 2020.3.13f1, 2021.1.0a5
Not reproducible with: 2021.1.0a6, 2021.1.13f1, 2021.2.0b1
Workaround:
Deleting the Library folder fixes 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
- PlayerPropertiesChanged event fires before Player Properties are applied
- Opening Media Pop-out in “Before You Start” Tutorial throws “Styles” and “Styles_Dark” messages in the Console window
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a6