Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.3.2f1
Issue ID
791659
Regression
No
Object which contains negative zero has different HashCode compared to the object with positive zero
Steps to reproduce:
1. Open attached project "791659.zip"
2. Open scene "repro"
3. Run the scene
Observe console. a.Equals(b) returns true, while a.GetHashCode() == b.GetHashCode() returns false. This behavior violates C# rule where equal objects return equal hash
Reproduced with: 5.1.4f1, 5.2.4f1, 5.3.4p4, 5.4.0b16
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity Package Manager Events Not Triggered When Changing Registry
- "DateTime.Now" in the UK timezone does not adjust when the British Summer Time is active
- "Unsupported source texture format (7) in ComputeNextMipLevel" error is shown and the texture atlas is corrupted when the texture format "RGB Compressed ETC2 4bits" is selected
- The label that uses data binding is no longer updated at runtime when `INotifyBindablePropertyChanged` reloads updates of the VisualTreeAsset in UIDocument
- HDRP Graphics "High Quality Line Rendering" is missing a documentation link
Add comment