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
- Errors are logged when importing an asset at a path with Firebase
- Entering too big of a number in 2D Renderer Lightmode Tags freezes the Editor
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
Add comment