Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.2.X, 2018.3.X
Votes
0
Found in
2018.2.10f1
Issue ID
1086670
Regression
No
Registry.GetValue crashes Unity build when using IL2CPP
Steps to reproduce:
1. Add a Registry string value:
Path: "HKEY_LOCAL_MACHINE\\SOFTWARE\\VRstudios"
Name: "EnableDebugPath"
Value: "true"
(see attached picture)
2. Open the build in the User-attached project ("...\BUILDS\IL2CPP\IL2CPP_NotWindowsPlatform_Bug.exe")
Expected: the build does not crash
Actual: the build crashes
Reproduced in: 2018.2.12f1, 2018.3.0b6, 2019.1.0a4
Note: does not reproduce on Mono
If the crash does not occur:
Delete its output log at "C:\Users\<USER>\AppData\LocalLow\DefaultCompany\IL2CPP_NotWindowsPlatform_Bug" and it will crash again.
Could not test on 2017.4 due to script errors
-----------------------------------------------------
fixed in 2018.2.18f1.
Add comment
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
Resolution Note (fix version 2019.1):
IL2CPP was not properly marshaling Char[] types when CharSet.Unicode was used, which is the case in the Win32 registry assembly used in this project.