Search Issue Tracker

Fixed in 2020.2

Fix In Review for 2019.4, 2020.1

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. Response avatar

    Resolution Note (fix version 2020.2):

    Adding support for the OR operator for Plugin Inspector :)

    Fixed in 2021.1.0a1

  2. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0b6

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.