Unity 5 - Windows Universal 8.1
Options
Comments
-
It should work with Windows 8.1 but we didn't test "Universal" specifically.
What is your problem with the import settings?0 -
Thank you for your reply Tobias!
My Import Settings :
1 - Assets\Plugins\Photon3Unity3D.dll - Select platforms: Editor / Any CPU - Any OS
2 - Assets\Plugins\WP8\Photon3Unity3D.dll - Select platforms: WP8Player / Any CPU / Placeholder: Assets\Plugins\Photon3Unity3D.dll
3 - Assets\Plugins\Metro\Photon3Unity3D.dll - Select platforms: WSAPlayer / Any SDK - Any CPU / Placeholder: Assets\Plugins\Photon3Unity3D.dll
I can build for both Windows Universal 8.1 and WIndows 8.1, but I can't build them from Visual Studio. These are the logs:
Windows 8.11>------ Build started: Project: Assembly-CSharp-firstpass-metro-vs2013, Configuration: Debug x86 ------ 1> Assembly-CSharp-firstpass-metro-vs2013 -> C:\Users\Jogos\Example\bin\Store 8.1\x86\Debug\Assembly-CSharp-firstpass.dll 2>------ Build started: Project: Assembly-CSharp-metro-vs2013, Configuration: Debug x86 ------ 2>C:\Users\Jogos\Example\Assets\Extensions\GoogleMobileAds\Platforms\iOS\IOSBannerClient.cs(26,60,26,73): warning CS0169: The field 'GoogleMobileAds.iOS.IOSBannerClient.bannerClients' is never used 2>C:\Users\Jogos\Example\Assets\Extensions\GoogleMobileAds\Platforms\iOS\IOSInterstitialClient.cs(28,60,28,73): warning CS0169: The field 'GoogleMobileAds.iOS.IOSInterstitialClient.bannerClients' is never used 2>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\PhotonView.cs(321,24,321,45): warning CS0169: The field 'PhotonView.OnSerializeMethodInfo' is never used 2>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\PhotonView.cs(323,18,323,41): warning CS0169: The field 'PhotonView.failedToFindOnSerialize' is never used 2>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\Views\PhotonAnimatorView.cs(78,13,78,31): warning CS0169: The field 'PhotonAnimatorView.m_ReceiverPosition' is never used 2>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\Views\PhotonAnimatorView.cs(79,11,79,32): warning CS0169: The field 'PhotonAnimatorView.m_LastDeserializeTime' is never used 2>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\Views\PhotonTransformViewPositionControl.cs(8,11,8,25): warning CS0169: The field 'PhotonTransformViewPositionControl.m_CurrentSpeed' is never used 2>C:\Users\Jogos\Example\Assets\Extensions\SpritePacker\Scripts\Player\SP_SpritePacker.cs(44,17,44,27): warning CS0169: The field 'SP_SpritePacker.identifier' is never used 2> Running SerializationWeaver... 2> Symbols will be read from C:\Users\Jogos\Example\Builds\Windows_81\Example\Unprocessed\UnityEngine.pdb 2> Weaving assembly C:\Users\Jogos\Example\obj\Store 8.1\x86\Debug\x86\Debug\Assembly-CSharp.dll 2> Symbols will be read from C:\Users\Jogos\Example\obj\Store 8.1\x86\Debug\x86\Debug\Assembly-CSharp.pdb 2> + LocalizationSettings 2> + LocalizedAsset 2> + LocalizedTextMesh 2> + Photon.MonoBehaviour 2> + Photon.PunBehaviour 2> + PhotonHandler 2> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Photon3Unity3D, Version=4.0.0.6, Culture=neutral, PublicKeyToken=null' 2> em Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters) 2> em Mono.Cecil.DefaultAssemblyResolver.Resolve(AssemblyNameReference name) 2> em Mono.Cecil.MetadataResolver.Resolve(TypeReference type) 2> em Unity.Serialization.Weaver.MethodEmitterBase.WillUnitySerialize(FieldDefinition fieldDefinition) 2> em Unity.Serialization.Weaver.SerializeMethodEmitter.ShouldProcess(FieldDefinition fieldDefinition) 2> em System.Linq.Enumerable.<>c__DisplayClassf`1.<combinepredicates> b__e(TSource x) 2> em System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() 2> em Unity.Serialization.Weaver.MethodEmitterBase.EmitMethodBody() 2> em Unity.Serialization.Weaver.SerializationWeaver.AddSerializeMethod() 2> em Unity.Serialization.Weaver.SerializationWeaver.Weave() 2> em usw.Weaver.WeaveAssembly(String assemblyPath, AssemblyDefinition unityEngineAssemblyDefinition) 2> em usw.Weaver.Weave() 2> em usw.Program.RunProgram(ConversionOptions options) 2> em usw.Program.Main(String[] args) 2>C:\Users\Jogos\Example\Assembly-CSharp-metro-vs2013.csproj(132,5): error MSB3073: The command ""C:\Program Files\Unity 5.0.0b19\Editor\Data\PlaybackEngines\metrosupport\Tools\SerializationWeaver\SerializationWeaver.exe" "C:\Users\Jogos\Example\obj\Store 8.1\x86\Debug\x86\Debug\Assembly-CSharp.dll" -pdb -verbose -unity-engine="C:\Users\Jogos\Example\Builds\Windows_81\Example\Unprocessed\UnityEngine.dll" "C:\Users\Jogos\Example\obj\Store 8.1\x86\Debug\x86\Debug"" exited with code 1. 3>------ Build started: Project: Example, Configuration: Debug x86 ------ 3> UnityInstallationDir "C:\Program Files\Unity 5.0.0b19\Editor". 3> UnityWSAPlayerDir "C:\Program Files\Unity 5.0.0b19\Editor\Data\PlaybackEngines\metrosupport". 3> UnityProjectDir "C:\Users\Jogos\Example". 3> Copying unprocessed assemblies... 3>C:\Users\Jogos\Example\Builds\Windows_81\Example\Example.csproj(197,5): error MSB3030: Could not copy the file "C:\Users\Jogos\Example\bin\Store 8.1\x86\Debug\Unprocessed\Assembly-CSharp.dll" because it was not found. ========== Build: 1 succeeded, 2 failed, 0 up-to-date, 0 skipped ========== ========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
Windows Universal 8.11>------ Rebuild All started: Project: Assembly-CSharp-firstpass-metro-vs2013, Configuration: Debug x86 ------ 2>------ Rebuild All started: Project: Assembly-CSharp-firstpass-windows-phone-8.1, Configuration: Debug x86 ------ 1> Running SerializationWeaver... 1> Symbols will be read from C:\Users\Jogos\Example\Builds\Windows_Universal\Example\Example.Windows\Unprocessed\UnityEngine.pdb 1> Weaving assembly C:\Users\Jogos\Example\obj\Store 8.1\x86\Debug\x86\Debug\Assembly-CSharp-firstpass.dll 1> Symbols will be read from C:\Users\Jogos\Example\obj\Store 8.1\x86\Debug\x86\Debug\Assembly-CSharp-firstpass.pdb 1> Will export symbols of pdb format 1> SerializationWeaver done. 1> Assembly-CSharp-firstpass-metro-vs2013 -> C:\Users\Jogos\Example\bin\Store 8.1\x86\Debug\Assembly-CSharp-firstpass.dll 2> Running SerializationWeaver... 2> Symbols will be read from C:\Users\Jogos\Example\Builds\Windows_Universal\Example\Example.WindowsPhone\Unprocessed\UnityEngine.pdb 2> Weaving assembly C:\Users\Jogos\Example\obj\Phone 8.1\x86\Debug\x86\Debug\Assembly-CSharp-firstpass.dll 2> Symbols will be read from C:\Users\Jogos\Example\obj\Phone 8.1\x86\Debug\x86\Debug\Assembly-CSharp-firstpass.pdb 2> Will export symbols of pdb format 2> SerializationWeaver done. 2> Assembly-CSharp-firstpass-windows-phone-8.1 -> C:\Users\Jogos\Example\bin\Phone 8.1\x86\Debug\Assembly-CSharp-firstpass.dll 3>------ Rebuild All started: Project: Assembly-CSharp-metro-vs2013, Configuration: Debug x86 ------ 4>------ Rebuild All started: Project: Assembly-CSharp-windows-phone-8.1, Configuration: Debug x86 ------ 3>C:\Users\Jogos\Example\Assets\Extensions\GoogleMobileAds\Platforms\iOS\IOSBannerClient.cs(26,60,26,73): warning CS0169: The field 'GoogleMobileAds.iOS.IOSBannerClient.bannerClients' is never used 3>C:\Users\Jogos\Example\Assets\Extensions\GoogleMobileAds\Platforms\iOS\IOSInterstitialClient.cs(28,60,28,73): warning CS0169: The field 'GoogleMobileAds.iOS.IOSInterstitialClient.bannerClients' is never used 3>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\PhotonView.cs(321,24,321,45): warning CS0169: The field 'PhotonView.OnSerializeMethodInfo' is never used 3>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\PhotonView.cs(323,18,323,41): warning CS0169: The field 'PhotonView.failedToFindOnSerialize' is never used 3>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\Views\PhotonAnimatorView.cs(78,13,78,31): warning CS0169: The field 'PhotonAnimatorView.m_ReceiverPosition' is never used 3>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\Views\PhotonAnimatorView.cs(79,11,79,32): warning CS0169: The field 'PhotonAnimatorView.m_LastDeserializeTime' is never used 3>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\Views\PhotonTransformViewPositionControl.cs(8,11,8,25): warning CS0169: The field 'PhotonTransformViewPositionControl.m_CurrentSpeed' is never used 3>C:\Users\Jogos\Example\Assets\Extensions\SpritePacker\Scripts\Player\SP_SpritePacker.cs(44,17,44,27): warning CS0169: The field 'SP_SpritePacker.identifier' is never used 3> Running SerializationWeaver... 3> Symbols will be read from C:\Users\Jogos\Example\Builds\Windows_Universal\Example\Example.Windows\Unprocessed\UnityEngine.pdb 3> Weaving assembly C:\Users\Jogos\Example\obj\Store 8.1\x86\Debug\x86\Debug\Assembly-CSharp.dll 3> Symbols will be read from C:\Users\Jogos\Example\obj\Store 8.1\x86\Debug\x86\Debug\Assembly-CSharp.pdb 3> + LocalizationSettings 3> + LocalizedAsset 3> + LocalizedTextMesh 3> + Photon.MonoBehaviour 3> + Photon.PunBehaviour 3> + PhotonHandler 3> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Photon3Unity3D, Version=4.0.0.6, Culture=neutral, PublicKeyToken=null' 3> em Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters) 3> em Mono.Cecil.DefaultAssemblyResolver.Resolve(AssemblyNameReference name) 3> em Mono.Cecil.MetadataResolver.Resolve(TypeReference type) 3> em Unity.Serialization.Weaver.MethodEmitterBase.WillUnitySerialize(FieldDefinition fieldDefinition) 3> em Unity.Serialization.Weaver.SerializeMethodEmitter.ShouldProcess(FieldDefinition fieldDefinition) 3> em System.Linq.Enumerable.<>c__DisplayClassf`1.<combinepredicates> b__e(TSource x) 3> em System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() 3> em Unity.Serialization.Weaver.MethodEmitterBase.EmitMethodBody() 3> em Unity.Serialization.Weaver.SerializationWeaver.AddSerializeMethod() 3> em Unity.Serialization.Weaver.SerializationWeaver.Weave() 3> em usw.Weaver.WeaveAssembly(String assemblyPath, AssemblyDefinition unityEngineAssemblyDefinition) 3> em usw.Weaver.Weave() 3> em usw.Program.RunProgram(ConversionOptions options) 3> em usw.Program.Main(String[] args) 3>C:\Users\Jogos\Example\Assembly-CSharp-metro-vs2013.csproj(132,5): error MSB3073: The command ""C:\Program Files\Unity 5.0.0b19\Editor\Data\PlaybackEngines\metrosupport\Tools\SerializationWeaver\SerializationWeaver.exe" "C:\Users\Jogos\Example\obj\Store 8.1\x86\Debug\x86\Debug\Assembly-CSharp.dll" -pdb -verbose -unity-engine="C:\Users\Jogos\Example\Builds\Windows_Universal\Example\Example.Windows\Unprocessed\UnityEngine.dll" "C:\Users\Jogos\Example\obj\Store 8.1\x86\Debug\x86\Debug"" exited with code 1. 4>C:\Users\Jogos\Example\Assets\Extensions\GoogleMobileAds\Platforms\iOS\IOSBannerClient.cs(26,60,26,73): warning CS0169: The field 'GoogleMobileAds.iOS.IOSBannerClient.bannerClients' is never used 4>C:\Users\Jogos\Example\Assets\Extensions\GoogleMobileAds\Platforms\iOS\IOSInterstitialClient.cs(28,60,28,73): warning CS0169: The field 'GoogleMobileAds.iOS.IOSInterstitialClient.bannerClients' is never used 4>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\PhotonView.cs(321,24,321,45): warning CS0169: The field 'PhotonView.OnSerializeMethodInfo' is never used 4>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\PhotonView.cs(323,18,323,41): warning CS0169: The field 'PhotonView.failedToFindOnSerialize' is never used 4>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\Views\PhotonAnimatorView.cs(78,13,78,31): warning CS0169: The field 'PhotonAnimatorView.m_ReceiverPosition' is never used 4>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\Views\PhotonAnimatorView.cs(79,11,79,32): warning CS0169: The field 'PhotonAnimatorView.m_LastDeserializeTime' is never used 4>C:\Users\Jogos\Example\Assets\Extensions\Photon Unity Networking\Scripts\PhotonNetwork\Views\PhotonTransformViewPositionControl.cs(8,11,8,25): warning CS0169: The field 'PhotonTransformViewPositionControl.m_CurrentSpeed' is never used 4>C:\Users\Jogos\Example\Assets\Extensions\SpritePacker\Scripts\Player\SP_SpritePacker.cs(44,17,44,27): warning CS0169: The field 'SP_SpritePacker.identifier' is never used 4> Running SerializationWeaver... 4> Symbols will be read from C:\Users\Jogos\Example\Builds\Windows_Universal\Example\Example.WindowsPhone\Unprocessed\UnityEngine.pdb 4> Weaving assembly C:\Users\Jogos\Example\obj\Phone 8.1\x86\Debug\x86\Debug\Assembly-CSharp.dll 4> Symbols will be read from C:\Users\Jogos\Example\obj\Phone 8.1\x86\Debug\x86\Debug\Assembly-CSharp.pdb 4> + LocalizationSettings 4> + LocalizedAsset 4> + LocalizedTextMesh 4> + Photon.MonoBehaviour 4> + Photon.PunBehaviour 4> + PhotonHandler 4> Mono.Cecil.AssemblyResolutionException: Failed to resolve assembly: 'Photon3Unity3D, Version=4.0.0.6, Culture=neutral, PublicKeyToken=null' 4> em Mono.Cecil.BaseAssemblyResolver.Resolve(AssemblyNameReference name, ReaderParameters parameters) 4> em Mono.Cecil.DefaultAssemblyResolver.Resolve(AssemblyNameReference name) 4> em Mono.Cecil.MetadataResolver.Resolve(TypeReference type) 4> em Unity.Serialization.Weaver.MethodEmitterBase.WillUnitySerialize(FieldDefinition fieldDefinition) 4> em Unity.Serialization.Weaver.SerializeMethodEmitter.ShouldProcess(FieldDefinition fieldDefinition) 4> em System.Linq.Enumerable.<>c__DisplayClassf`1.<combinepredicates> b__e(TSource x) 4> em System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext() 4> em Unity.Serialization.Weaver.MethodEmitterBase.EmitMethodBody() 4> em Unity.Serialization.Weaver.SerializationWeaver.AddSerializeMethod() 4> em Unity.Serialization.Weaver.SerializationWeaver.Weave() 4> em usw.Weaver.WeaveAssembly(String assemblyPath, AssemblyDefinition unityEngineAssemblyDefinition) 4> em usw.Weaver.Weave() 4> em usw.Program.RunProgram(ConversionOptions options) 4> em usw.Program.Main(String[] args) 4>C:\Users\Jogos\Example\Assembly-CSharp-windows-phone-8.1.csproj(132,5): error MSB3073: The command ""C:\Program Files\Unity 5.0.0b19\Editor\Data\PlaybackEngines\metrosupport\Tools\SerializationWeaver\SerializationWeaver.exe" "C:\Users\Jogos\Example\obj\Phone 8.1\x86\Debug\x86\Debug\Assembly-CSharp.dll" -pdb -verbose -unity-engine="C:\Users\Jogos\Example\Builds\Windows_Universal\Example\Example.WindowsPhone\Unprocessed\UnityEngine.dll" "C:\Users\Jogos\Example\obj\Phone 8.1\x86\Debug\x86\Debug"" exited with code 1. 5>------ Rebuild All started: Project: Example.Windows, Configuration: Debug x86 ------ 5> UnityInstallationDir "C:\Program Files\Unity 5.0.0b19\Editor". 5> UnityWSAPlayerDir "C:\Program Files\Unity 5.0.0b19\Editor\Data\PlaybackEngines\metrosupport". 5> UnityProjectDir "C:\Users\Jogos\Example". 5> Copying unprocessed assemblies... 5>C:\Users\Jogos\Example\Builds\Windows_Universal\Example\Example.Windows\Example.Windows.csproj(185,5): error MSB3030: Could not copy the file "C:\Users\Jogos\Example\bin\Store 8.1\x86\Debug\Unprocessed\Assembly-CSharp.dll" because it was not found. 6>------ Rebuild All started: Project: Example.WindowsPhone, Configuration: Debug x86 ------ 6> UnityInstallationDir "C:\Program Files\Unity 5.0.0b19\Editor". 6> UnityWSAPlayerDir "C:\Program Files\Unity 5.0.0b19\Editor\Data\PlaybackEngines\metrosupport". 6> UnityProjectDir "C:\Users\Jogos\Example". 6> Copying unprocessed assemblies... 6>C:\Users\Jogos\Example\Builds\Windows_Universal\Example\Example.WindowsPhone\Example.WindowsPhone.csproj(178,5): error MSB3030: Could not copy the file "C:\Users\Jogos\Example\bin\Phone 8.1\x86\Debug\Unprocessed\Assembly-CSharp.dll" because it was not found. ========== Rebuild All: 2 succeeded, 4 failed, 0 skipped ==========
Thank you!0 -
I checked Universal in Unity 4.6.1 (I don't have U5 around at the moment) and it works.
Please check if you got a Photon3Unity3D.dbg file in your package.
It seems this could be a problem. Just delete it, you only need the .dll and .xml files. Of course, you have to make sure you keep Assets\Metro\Metro.dll.
As it works in Unity 4.6, it might be a new bug in Unity 5 and maybe worth reporting as bug.0 -
Thank you Tobias!!
It seems to be a bug in Unity 5 as you said. I can't build to any Windows platform, I'll ask in Unity's forum.0