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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment