Search Issue Tracker

Fixed in 2019.2

Fixed in 2018.4, 2019.1

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

IL2CPP

-

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.

  1. Response avatar

    Resolution Note (fix version 2019.2):

    UnityLinker: Fix a crash that could occur when a method has an unmanaged constraint.

  2. Response avatar

    Resolution Note (fix version 2019.1):

    UnityLinker: Fix a crash that could occur when a method has an unmanaged constraint.

  3. Response avatar

    Resolution Note (fix version 2018.4):

    UnityLinker: Fix a crash that could occur when a method has an unmanaged constraint.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.