Search Issue Tracker
By Design
Votes
0
Found in
5.6.0b1
Issue ID
862495
Regression
No
Operator "??" does not return the correct value with the function "GetComponent"
Reproduction steps:
1. Open the attached project;
2. Open the scene "Test";
3. Enter the Play mode;
4. Observe the Console window;
Actual result: the operator "??" returns null value.
Expected result: the operator "??" should return a gameobject children collider bounds according to the script and Editor information.
Reproduced with: 5.3.6p4, 5.4.3f1, 5.5.0f1, 5.6.0b5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- 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
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment