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
- Palette Settings link to the documentation isn’t working
- "Type Options" and "Node Library" dropdowns do not open when clicked on the title
- Public char variables uneditable in Inspector when project setting "Use IMGUI Default Inspector" is enabled
- IAP Listener component’s list titles go out of bounds when resizing the Inspector window horizontally
- Selected Camera sublayer blends with highlight color in Graphics Compositor window when Editor theme is set to Light
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a6