Search Issue Tracker

Fixed in Unity 2019.2

Votes

0

Found in

2018.1.9f1

Issue ID

1076679

Regression

No

"TimeZoneNotFoundException InvalidTimeZoneException" error, when registry "TimeZoneKeyName" is empty, crashes Editor/Build

Windows

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 1Crash, freeze, data loss, work stops

"TimeZoneNotFoundException InvalidTimeZoneException" error, when registry "TimeZoneKeyName" is empty, crashes or freezes the Editor or Build

Reproduction steps:

1. Change your Time zone to "(UTC+08:00) Beijing, Chongqing, Hong Kong, Urumqi"
2. Open "Regedit" -> "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation"
3. Change "TimeZoneKeyName" value data to empty (Delete the value data)
4. Open "TH20" project or Standalone Build
5. Enter Play mode or Start Standalone Build

Expected Result: Project opens succesfully/Play mode enters successfully/Build launches successfully
Actual Result: The Editor doesn't launch or Editor/Build freezes/crashes

Fixed in: 2019.2.0a3, 2019.1.0b3, 2018.3.5f1

Reproduced with: 2018.1.9f1

Note:
The registry "TimeZoneKeyName" is empty sometimes when using some Chinese time zones and/or Language settings
Reproduces in Editor and Standalone
Launching the Editor when "TimeZoneKeyName" is empty almost always silently crashes/exits the Editor

All about bugs

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