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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a6