Search Issue Tracker
Active
Under Consideration for 2.4.X
Votes
0
Found in [Package]
2.4.X
Issue ID
ECSB-1080
Regression
No
Build fails with error CS0019: Operator '!=' cannot be applied to operands of type 'JobHandle' and 'default' when JobHandle uses the operator (==, !=) in a script
Reproduction steps:
1. Open the attached project “ReproProject”
2. Build the project
3. Observe the Console Window
Expected result: The build is completed successfully
Actual result: Build failed with the error CS0019: Operator '!=' cannot be applied to operands of type 'JobHandle' and 'default'
Reproducible with: 2021.3.37f1, 2022.3.26f1, 2023.2.19f1, 6000.0.0b16
Reproduced on: Windows 11 23H2 (22631.3007), Windows 11 (10.0.22631) 64bit (user’s)
Not reproduced on: No other environment tested
Workarounds:
* Use the Equals() instead
* define the function inside {{#if ENABLE_UNITY_COLLECTIONS_CHECKS}} <function> {{#endif}}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment