Search Issue Tracker
Won't Fix
Votes
1
Found in [Package]
preview.19 - 0.7.0
Issue ID
1225490
Regression
No
Unity.Entities.Hash128 ToString doesn't match UnityEngine.Hash128 ToString method's output when given the same input
How to reproduce:
1. Open the attached project (1225490.zip)
2. Open the TestScene from the Project window if it is not already open
3. In the Hierarchy window select the "HashTest" GameObject
4. Enter Play Mode
5. In the Inspector window observe the "Entities Hash 128", "Unity Engine Hash 128" and "Identical" fields on the "Hash 128 Bug (Script)" component
Expected result: The "Identical" toggle on the component is set to true indicating that the "Entities Hash 128" and "Unity Engine Hash 128" field values are identical
Actual result: The "Identical" toggle on the component is set to false indicating that the "Entities Hash 128" and "Unity Engine Hash 128" field values are different
Reproducible with: 2019.1.0a1 (preview.26 - 0.0.12), 2019.3.5f1 (preview.19 - 0.7.0), 2020.1.0b1 (preview.19 - 0.7.0), 2020.2.0a2 (preview.19 - 0.7.0)
Could not test with: 2017.4.38f1 (doesn't support Entities), 2018.4.19f1 (0.0.12 - preview.24) ("Unity.Entities" namespace doesn't contain the "Hash128" struct)
Note: Tested on a Windows 10 PC and Mac
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
This is unfortunate, but the Unity.Hash128 has implicit conversions from and to both UnityEngine.Hash128 and to UnityEditor.GUID. The mismatch between string representations already exists between UnityEngine.Hash128 and UnityEditor.GUID.