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 Package documentation link in Package manager leads to the deprecated page
- [Usability] No setup script for Render Pipeline Assets for the proper URP Sample usage
- csc.rsp -additionalfile files are not treated as dependencies and are not reloaded when the file contents change
- Error ‘cannot use casts on l-values’ when a variable is assigned inside a second-level nested if statement before being used in a conversion
- "You cannot save to an invalid folder" warning dialog box is shown when canceling Tile Palette creation
Add comment