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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a6