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
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
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.