Search Issue Tracker

Fixed in 1.10.0

Votes

0

Found in [Package]

1.8.2

Issue ID

1250328

Regression

No

[SBP] 'HashingMethods.cs' does not support Unicode

Package: Scriptable BuildPipeline

-

Reproduction steps:
1. Open the attached project ("case_1250328-SBP-Unicode.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Inspect console

Expected result: Hash1 should not be equal to Hash2
Actual result: Hash1 is equal to Hash2

Reproducible with: 2018.4.23f1, 2019.4.0f1, 2020.1.0b11, 2020.2.0a13
Reproducible with package versions: 1.5.0, 1.8.2

Note: 'HashingMethods.cs' is using ASCII encoding for string handling (line 148):
else if (currObj is string)
{
var bytes = Encoding.ASCII.GetBytes((string)currObj);
stream.Write(bytes, 0, bytes.Length);
}

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.