Search Issue Tracker
Fixed in 2019.2.X
Fixed in 2018.4.X, 2019.1.X
Votes
0
Found in
2018.4.0f1
2019.2.0a1
2019.3.0a1
Issue ID
1158632
Regression
No
Build errors when trying to build a project with high Managed Stripping Level and a script containing 'unmanaged' constraint
How to reproduce:
1. Open the user's originally attached project
2. Build for Windows Standalone (include SampleScene)
-- Observe the build errors
Reproducible with: 2018.4.2f1, 2019.1.7f1, 2019.2.0b6, 2019.3.0a6
Could not test with some versions (early versions of streams and LTS) due to it not recognizing 'unmanaged' constraint
Note: Setting Managed Stripping Level to Low builds the project without any errors.
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
- Lighting Data asset is not created when baking multiple Scenes at the same time
- Performance issues when instantiating a recognizer under UnityEngine.Windows.Speech
- Build fails with "Exception: Unity.IL2CPP.Building.BuilderFailedException: Build failed with 0 successful nodes and 0 failed ones" when building the project for iOS
- [Android] .aab Build fails when using Asset Bundles
- Builds fail without a useful error message when building a project with invalid product name
Resolution Note (fix version 2019.2):
UnityLinker: Fix a crash that could occur when a method has an unmanaged constraint.
Resolution Note (fix version 2019.1):
UnityLinker: Fix a crash that could occur when a method has an unmanaged constraint.
Resolution Note (fix version 2018.4):
UnityLinker: Fix a crash that could occur when a method has an unmanaged constraint.