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()}'.
Comments (1)
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
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
- Unity Perforce Integration: VCS Connection Active State Fails via CLI with Valid Inputs
shubhamswaraj2021
Aug 18, 2020 16:05
good one <a href="https://www.lyricsauto.com">lyricsauto</a>