Search Issue Tracker

Fixed in 2020.2.X

Fixed in 2019.4.X, 2020.1.X

Votes

0

Found in

2019.4

2019.4.2f1

2020.2

Issue ID

1270592

Regression

No

Errors are thrown in the Console when the Constraint of the DLL contains the "OR" operator

Scripting

-

How to reproduce:
1. Open user's attached "Define Constraints or-ing build" project
2. In the Project window select the UnityPluginLogImport.dll (Assets/Plugins/XboxOne/UnityPluginLogImport.dll)

Expected result: No errors are thrown in the console
Actual result: the "PrecompiledAssemblyException: Invalid define constraint DEVELOPMENT_BUILD || UNITY_EDITOR" error is thrown in the Console

Reproducible with: 2019.4.8f1, 2020.1.3f1, 2020.2.0a21
Could not test with: 2018.4.26f1 because the "OR" operator for ASMDEFS was added around 2019.3

Notes:
- The "OR" constraint works on asmdef Constraints but not DLL

  1. Resolution Note (fix version 2020.2):

    Adding support for the OR operator for Plugin Inspector :)

    Fixed in 2021.1.0a1

  2. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0b6

  3. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.13f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.15f1

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.