- Home /
Failed build game into Window Phone 8 Platform
Hi, I wish to build my game into window Phone 8 Platform . However, it show the error as below:
Exception: Failed to run serialization weaver with command line "Temp\StagingArea\Data\Managed\Assembly-CSharp-firstpass.dll" -pdb -verbose -unity-engine=Temp\StagingArea\Data\Managed\UnityEngine.dll "Temp\StagingArea\TempSerializationWeaver".[Temp\StagingArea\Data\Managed\Assembly-CSharp-firstpass.dll] Symbols will be read from Temp\StagingArea\Data\Managed\UnityEngine.pdb Weaving assembly C:\Users\Maggie\Documents\PirateKings2048\Temp\StagingArea\Data\Managed\Assembly-CSharp-firstpass.dll Symbols will be read from Temp\StagingArea\Data\Managed\Assembly-CSharp-firstpass.dll.mdb + GoogleAnalyticsV3 + GameControllerExample + GameThrive + OneSignal Mono.Cecil.ResolutionException: Failed to resolve System.Action at Unity.CecilTools.Extensions.ResolutionExtensions.Resolve[TReference,TDefinition](TReference reference, Func`2 resolve) at Unity.CecilTools.Extensions.TypeReferenceExtensions.IsAssignableTo(TypeReference typeRef, String typeName) at Unity.SerializationLogic.UnitySerializationLogic.IsTypeSerializable(TypeReference typeReference) at Unity.SerializationLogic.UnitySerializationLogic.IsFieldTypeSerializable(TypeReference typeReference) at Unity.SerializationLogic.UnitySerializationLogic.WillUnitySerialize(FieldDefinition fieldDefinition, TypeResolver typeResolver) at Unity.Serialization.Weaver.MethodEmitterBase.WillUnitySerialize(FieldDefinition fieldDefinition) at Unity.Serialization.Weaver.SerializeMethodEmitter.ShouldProcess(FieldDefinition fieldDefinition) at System.Linq.Enumerable.<>c_DisplayClassf`1.b_e(TSource x) at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() at Unity.Serialization.Weaver.MethodEmitterBase.EmitMethodBody() at Unity.Serialization.Weaver.SerializationWeaver.AddSerializeMethod() at Unity.Serialization.Weaver.SerializationWeaver.Weave() at usw.Weaver.WeaveAssembly(String assemblyPath, AssemblyDefinition unityEngineAssemblyDefinition) at usw.Weaver.Weave() at usw.Program.RunProgram(ConversionOptions options) at usw.Program.Main(String[] args)
PostProcessWP8Player.RunSerializationWeaver (System.String playerPackage, System.String tempFolder, System.String assemblyPath, System.String unityEnginePath) (at C:/buildslave/unity/build/PlatformDependent/WP8Player/Extensions/Managed/PostProcessWP8Player.cs:528) PostProcessWP8Player.PreprocessAssemblies (System.String stagingAreaDataManaged, System.String stagingArea, System.String playerPackage, .LibraryCollection libraries) (at C:/buildslave/unity/build/PlatformDependent/WP8Player/Extensions/Managed/PostProcessWP8Player.cs:331) PostProcessWP8Player.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingArea, System.String playerPackage, System.String companyName, System.String productName, Guid productGUID) (at C:/buildslave/unity/build/PlatformDependent/WP8Player/Extensions/Managed/PostProcessWP8Player.cs:207) UnityEditor.WP8.BuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/WP8Player/Extensions/Managed/ExtensionModule.cs:103) UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316) UnityEditor.HostView:OnGUI()
Anyone can help to solve this... Thanks a lot...
Your answer
Follow this Question
Related Questions
Unity 5 - submeshes don't work as before 1 Answer
Sound files not working [Unity 5.1] 0 Answers
Unity 5 Light Problem 1 Answer