Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.2.6f1

Issue ID

1076503

Regression

No

When using .NET 4.X with Compatibility Level .NET Standard 2.0 the Registry.CurrentUser returns NULL

Mono

-

To reproduce:
1. Open the user's attached project
2. Make sure your Compatibility Level is set to.NET Standard 2.0 and you're using Scripting Runtime .NET 4.X
3. Play the scene

Expected result: Registry.CurrentUser returns HKEY_CURRENT_USER
Actual result: Registry.CurrentUser returns NULL

Why won't fix: this is not a bug. It's merely incorrect DLL was copied into the project. Further discussion on this issue can be found here: https://forum.unity.com/threads/net-standard-2-0-il2cpp-registry-is-not-supported-on-this-platform.562423/

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.