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
- UnityLinker causes crash when outputting snapshot data for very large projects
- Camera Preview does not detect multiple cameras with same GameObject name
- Crash on TypeTreeIterator::Children() when renaming a corrupted asset while Asset Serialization is set to Mixed
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
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