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
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
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
- Error “Shader error in 'YSCloudCover': call to 'tex3D' is ambiguous at Assets/YSCloudCoverText.shader(606) (on d3d11)“ is present when compiling tex3D shader with DXC
- Placeholder asset is not loaded with Advertisement Legacy sample when using the latest version of the package
- Addressables content build fails but the Player build is successful when building a development build
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
Resolution Note (fix version 2020.2):
Adding support for the OR operator for Plugin Inspector :)
Fixed in 2021.1.0a1
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b6
Resolution Note (fix version 2020.1):
Fixed in 2020.1.13f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.15f1