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
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/
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment