PlayMaker Help & Tips > Windows Store Apps Help

Window Store Build Problem[SOLVED]

<< < (2/3) > >>

KJammer:
It's an existing standalone project trying to build for Universal 10 for the first time

There's also these errors at the bottom
The class UnityEngine.NetworkPlayer could not be loaded, used in UnityEngine, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
The class HutongGames.PlayMaker.FsmEventData could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null
The class HutongGames.PlayMaker.Fsm could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null
The class HutongGames.PlayMaker.FsmLog could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null
The class HutongGames.PlayMaker.Fsm could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null
The class HutongGames.PlayMaker.FsmState could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null
The class HutongGames.PlayMaker.Fsm could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null
The class BitConverter could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null
The class HutongGames.PlayMaker.FsmStateAction could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null
The class HutongGames.PlayMaker.Fsm could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null
The class PlayMakerFSM could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null
The class PlayMakerFSM could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null
The class PlayMakerFSM could not be loaded, used in PlayMaker, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null

Thanks for helping! :D

jonijoba:
Hi!

Same problem using this setup:

-Empty project with only playmaker 1.8.2
-unity4.7.2 perso, running on windows10
-Build target: windowsPhone8

Thanks for your help, i need to publish a project on WP8 for a customer next week and I'm stuck on the build.




Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.

  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)

  at System.Reflection.Assembly.GetTypes () [0x00000] in <filename unknown>:0

  at Mono.CSharp.RootNamespace.ComputeNamespaces (System.Reflection.Assembly assembly, System.Type extensionType) [0x00000] in <filename unknown>:0

  at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in <filename unknown>:0

  at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0

  at Mono.CSharp.Driver.LoadReferences () [0x00000] in <filename unknown>:0

  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0

  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0


jonijoba:
Error as well with playmaker 1.8.3:

Internal compiler error. See the console log for more information. output was:
Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.

  at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)

  at Mono.CSharp.RootNamespace.ComputeNamespace (Mono.CSharp.CompilerContext ctx, System.Type extensionType) [0x00000] in <filename unknown>:0

  at Mono.CSharp.GlobalRootNamespace.ComputeNamespaces (Mono.CSharp.CompilerContext ctx) [0x00000] in <filename unknown>:0

  at Mono.CSharp.Driver.LoadReferences () [0x00000] in <filename unknown>:0

  at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0

  at Mono.CSharp.Driver.Main (System.String[] args) [0x00000] in <filename unknown>:0

Alex Chouls:
Building for WP8 in Unity 4.x is a little convoluted because of a Unity bug with imported dlls. After switching to the WP8 build target you need to import:

Assets\PlayMaker\Versions\PlayMakerWP8.unitypackage.

This will replace the main Playmaker dll with a version compatible with WP8.

This should only be necessary in Unity 4.x. In Unity 5.x the plugin import settings should select the correct dll for the build target.

jonijoba:
Thanks for your answer.
I made a new simple test from your instructions:


-blank project with unity4.7.2 on windows10
-install playmaker 1.8.3
-decompress PlaymakerWP8.unitypackage
-create a simple MainCamera scene

-Build for WP8
Have you already seen this error?

Error building Player: Exception: Failed to run serialization weaver with command line "Temp\StagingArea\Data\Managed\PlayMaker.dll" -pdb -verbose -unity-engine=Temp\StagingArea\Data\Managed\UnityEngine.dll "Temp\StagingArea\TempSerializationWeaver".[Temp\StagingArea\Data\Managed\PlayMaker.dll]
Symbols will be read from Temp\StagingArea\Data\Managed\UnityEngine.pdb
Weaving assembly C:\Users\retina\Documents\New Unity Project 11\Temp\StagingArea\Data\Managed\PlayMaker.dll
Symbols will be read from Temp\StagingArea\Data\Managed\PlayMaker.dll.mdb
Mono.CompilerServices.SymbolWriter.MonoSymbolFileException: Symbol file `C:\Users\retina\Documents\New Unity Project 11\Temp\StagingArea\Data\Managed\PlayMaker.dll.mdb' does not match assembly `C:\Users\retina\Documents\New Unity Project 11\Temp\StagingArea\Data\Managed\PlayMaker.dll'
   � Mono.CompilerServices.SymbolWriter.MonoSymbolFile.CheckGuidMatch(Guid other, String filename, String assembly)
   � Mono.CompilerServices.SymbolWriter.MonoSymbolFile.ReadSymbolFile(ModuleDefinition module, String filename)
   � Mono.Cecil.Mdb.MdbReaderProvider.GetSymbolReader(ModuleDefinition module, String fileName)
   � Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition module, ReaderParameters parameters)
   � Mono.Cecil.ModuleReader.CreateModuleFrom(Image image, ReaderParameters parameters)
   � Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters)
   � usw.Weaver.WeaveAssembly(String assemblyPath, AssemblyDefinition unityEngineAssemblyDefinition)
   � usw.Weaver.Weave()
   � usw.Program.RunProgram(ConversionOptions options)
   � usw.Program.Main(String[] args)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version