Search Issue Tracker
Fixed in 2019.3.X
Fixed in 2019.1.X, 2019.2.X
Votes
0
Found in
2019.1.0a12
Issue ID
1154131
Regression
Yes
AssemblyUpdater silently fails if its path contains spaces
if Unity gets installed to a folder with spaces in its name, AssemblyUpdater fails silently which may lead to edit time as well as at runtime errors.
This issue manifest itself as errors of types / members not being found like called non-existent method System.Boolean UnityEngine.VR.VRSettings::get_enabled() when trying to do purchases through IAP (more details about this specific case can be found in this forum thread: https://forum.unity.com/threads/exception-error-called-non-existent-method-system-boolean-unityengine-vr-vrsettings-get_enabled.518868/#post-3541537)
The issue was introduced in Unity version 2019.1.0a12 (build #6653) released on December 14, 2018
The simplest workaround for now is to install Unity to a path without spaces.
To verify that AssemblyUpdater.exe has actually changed assemblies look Editor.log for lines like:
[AssemblyUpdater] Type reference 'UnityEngine.VR.VRSettings' replaced with 'UnityEngine.XR.XRSettings' as the declaring type of 'System.Boolean UnityEngine.VR.VRSettings::get_enabled()' in 'System.Void UnityEngine.Purchasing.GooglePlayAndroidJavaStore::Purchase(System.String,System.String) {IL_0026: call System.Boolean UnityEngine.VR.VRSettings::get_enabled()}'.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment