Search Issue Tracker

Fixed in 2020.2

Fixed in 2019.4, 2020.1

Fix In Review for 2018.4

Votes

0

Found in

2020.2.0a21

Issue ID

1269569

Regression

No

Invalid Windows Proxy Configuration causes NullReferenceException to be thrown incorrectly

Mono

-

User reported here: https://github.com/Unity-Technologies/mono/pull/1330

Repro Steps:

Have your windows registry values set as such:
HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyEnable was set to true (1)
but HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\ProxyServer was set to null -- or not set at all

Run SampleScene in the attached project. Observe NullReferenceException that's thrown. Originates from: InitializeRegistryGlobalProxy

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed issue where an invalid windows proxy configuration would cause mono to ungracefully throw a NullReferenceException in AutoWebProxyScriptEngine.cs

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.