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
- Keywords on Material Variants aren't automatically saved when changed on original Material through Shader Graph
- Light Probes get baked when calling LightProbes.Tetrahedralize
- Shadows flicker and cause visual artifacts when modifying a GameObject's bounds using Swizzle (Y Mask) and Sine Time nodes
- [WebGL] Frame rate drops by 5-20 fps when moving cursor or touch input in the Player
- Light bleeds when using box shaped spotlight with specific Emission Range values
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.