Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
2018.1.0b1
Issue ID
982794
Regression
Yes
[XR] Android build fails due to TypeLoadException when VuforiaConfiguration Resources is included in assets
Android build fails due to TypeLoadException when VuforiaConfiguration Resources is included in assets
Steps to Repro:
1. File > build settings > player settings
2. XR settings > enable Vuforia augmented reality supported setting
3. Observe resources folder are generated > build for Android
4. Observe console for errors
Occurring with:
2018.1.0b1
Working with:
2018.1.0a7, 2018.1.0a6
Environment:
Occurring on Windows & Mac
Stack Trace:
TypeLoadException: Could not load type 'BuildObserver' from assembly 'Vuforia.UnityExtensions.Editor, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'.
System.MonoType.GetConstructors (BindingFlags bindingAttr) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/MonoType.cs:134)
System.MonoType.GetConstructorImpl (BindingFlags bindingAttr, System.Reflection.Binder binder, CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/MonoType.cs:95)
System.Type.GetConstructor (BindingFlags bindingAttr, System.Reflection.Binder binder, CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Type.cs:1007)
System.MonoType.GetDefaultConstructor () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/MonoType.cs:75)
System.Activator.CreateInstance (System.Type type, Boolean nonPublic) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Activator.cs:354)
System.Activator.CreateInstance (System.Type type) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Activator.cs:254)
UnityEditor.Build.BuildPipelineInterfaces.InitializeBuildCallbacks (BuildCallbacks findFlags) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildPipelineInterfaces.cs:117)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [URP] Invalid update of shader stripping settings
- [HDRP] Errors on Shader stripper that do not stripp shaders.
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
Add comment