UWP Problem in Build

Options
i ma use photon voice with hololens
itss work fine between 2 editor when build i get error in building than the application go to sleep in holoness

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @shiref,

    Thank you for choosing Photon!

    What Photon Voice version do you use?

    when build i get error in building than the application go to sleep
    I don't understand. Does the build finishes successfully or not?
    Do you get the error during the build or when running the game or both?

    If the build succeeds, does the app crash?
    Is it always when the app "goes to sleep"? What do you mean by that is it the same as when Unity triggers OnApplicationPause or OnApplicationFocus?

    In any case,
    Could you post the error(s) log?
  • shiref
    Options
    hi @JohnTube mod
    thanks for replay
    i am use photon multiplayer with unity 2017.2 b3 and old version of unity 5.6
    work fine when export and every thing work fine
    when i use photon voice the build complete and give me 999+ error in version (5.6)after build
    all error
    (Reference Rewriter found some errors while running with command --target="Temp\StagingArea\websocket-sharp.dll" --additionalreferences="Temp\StagingArea","Temp\StagingArea\Plugins\ARM","Temp\StagingArea\Plugins\x64","Temp\StagingArea\Plugins\x86","C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Facade","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.CallsVoipContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.SocialInfo.SocialInfoContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.DevicesLowLevelContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Printers.PrintersContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.FoundationContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Foundation.UniversalApiContract\3.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Graphics.Printing3D.Printing3DContract\3.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.Connectivity.WwanContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Services.Store.StoreContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.ProfileHardwareTokenContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.ProfileSharedModeContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.ViewManagement.ViewManagementViewScalingContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.ActivatedEventsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.ActivationCameraSettingsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.ContactActivatedEventsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.Background.CallsBackgroundContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.LockScreenCallContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.FullTrustAppContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Preview.Notes.PreviewNotesContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Resources.Management.ResourceIndexerContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Search.Core.SearchCoreContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Search.SearchContract\1.0.0.0","C:\Program Files (x86)\Windows
  • shiref
    Options
    Kits\10\References\Windows.ApplicationModel.StartupTaskContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Wallet.WalletContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Custom.CustomDeviceContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Portable.PortableDeviceContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Printers.Extensions.ExtensionsContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Scanners.ScannerDeviceContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.Sms.LegacySmsApiContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Gaming.Preview.GamesEnumerationContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Management.Deployment.Preview.DeploymentPreviewContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Management.Orchestration.OrchestrationContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Management.Workplace.WorkplaceSettingsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Capture.AppCaptureContract\3.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Capture.CameraCaptureUIContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Devices.CallControlContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.MediaControlContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Playlists.PlaylistsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Media.Protection.ProtectionRenewalContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.Sockets.ControlChannelTriggerContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Perception.Automation.Core.PerceptionAutomationCoreContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Security.EnterpriseData.EnterpriseDataContract\3.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Security.ExchangeActiveSyncProvisioning.EasContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Services.Maps.GuidanceContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Services.Maps.LocalSearchContract\3.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.SystemManufacturers.SystemManufacturersContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.Profile.ProfileRetailInfoContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.UserProfile.UserProfileContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.UserProfile.UserProfileLockScreenContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.ApplicationSettings.ApplicationsSettingsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.Core.AnimationMetrics.AnimationMetricsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.Core.CoreWindowDialogsContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.Xaml.Hosting.HostingContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Web.Http.Diagnostics.HttpDiagnosticsContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.System.SystemManagementContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.Calls.CallsPhoneContract\3.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract\2.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Devices.SmartCards.SmartCardEmulatorContract\3.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Embedded.DeviceLockdown.DeviceLockdownContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Phone.PhoneContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.Phone.StartScreen.DualSimTileContract\1.0.0.0","C:\Program Files (x86)\Windows Kits\10\References\Windows.UI.WebUI.Core.WebUICommandBarContract\1.0.0.0" --platform="C:\Program Files (x86)\Windows Kits\10\UnionMetadata\Facade\Windows.winmd" --support="Temp\StagingArea\WinRTLegacy.dll" --supportpartialns=Unity.Partial --system=System --dbg=pdb --lock=UWP\project.lock.json --alt=System.Xml.Serialization;System.Collections,System.Collections.NonGeneric;System.Reflection,System.Reflection.TypeExtensions;System.IO,System.IO.FileSystem;System.Net,System.Net.Primitives;System.Net.Sockets,System.Net.Primitives;System.Xml,System.Xml.XmlDocument;,Windows.winmd;,Windows.ApplicationModel.Calls.CallsVoipContract.winmd;,Windows.ApplicationModel.SocialInfo.SocialInfoContract.winmd;,Windows.Devices.DevicesLowLevelContract.winmd;,Windows.Devices.Printers.PrintersContract.winmd;,Windows.Foundation.FoundationContract.winmd;,Windows.Foundation.UniversalApiContract.winmd;,Windows.Graphics.Printing3D.Printing3DContract.winmd;,Windows.Networking.Connectivity.WwanContract.winmd;,Windows.Services.Store.StoreContract.winmd;,Windows.System.Profile.ProfileHardwareTokenContract.winmd;,Windows.System.Profile.ProfileSharedModeContract.winmd;,Windows.UI.ViewManagement.ViewManagementViewScalingContract.winmd;,Windows.ApplicationModel.Activation.ActivatedEventsContract.winmd;
  • shiref
    Options
    ,Windows.ApplicationModel.Activation.ActivationCameraSettingsContract.winmd;,Windows.ApplicationModel.Activation.ContactActivatedEventsContract.winmd;,Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract.winmd;,Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract.winmd;,Windows.ApplicationModel.Calls.Background.CallsBackgroundContract.winmd;,Windows.ApplicationModel.Calls.LockScreenCallContract.winmd;,Windows.ApplicationModel.FullTrustAppContract.winmd;,Windows.ApplicationModel.Preview.Notes.PreviewNotesContract.winmd;,Windows.ApplicationModel.Resources.Management.ResourceIndexerContract.winmd;,Windows.ApplicationModel.Search.Core.SearchCoreContract.winmd;,Windows.ApplicationModel.Search.SearchContract.winmd;,Windows.ApplicationModel.StartupTaskContract.winmd;,Windows.ApplicationModel.Wallet.WalletContract.winmd;,Windows.Devices.Custom.CustomDeviceContract.winmd;,Windows.Devices.Portable.PortableDeviceContract.winmd;,Windows.Devices.Printers.Extensions.ExtensionsContract.winmd;,Windows.Devices.Scanners.ScannerDeviceContract.winmd;,Windows.Devices.Sms.LegacySmsApiContract.winmd;,Windows.Gaming.Preview.GamesEnumerationContract.winmd;,Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract.winmd;,Windows.Management.Deployment.Preview.DeploymentPreviewContract.winmd;,Windows.Management.Orchestration.OrchestrationContract.winmd;,Windows.Management.Workplace.WorkplaceSettingsContract.winmd;,Windows.Media.Capture.AppCaptureContract.winmd;,Windows.Media.Capture.CameraCaptureUIContract.winmd;,Windows.Media.Devices.CallControlContract.winmd;,Windows.Media.MediaControlContract.winmd;,Windows.Media.Playlists.PlaylistsContract.winmd;,Windows.Media.Protection.ProtectionRenewalContract.winmd;,Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract.winmd;,Windows.Networking.Sockets.ControlChannelTriggerContract.winmd;,Windows.Perception.Automation.Core.PerceptionAutomationCoreContract.winmd;,Windows.Security.EnterpriseData.EnterpriseDataContract.winmd;,Windows.Security.ExchangeActiveSyncProvisioning.EasContract.winmd;,Windows.Services.Maps.GuidanceContract.winmd;,Windows.Services.Maps.LocalSearchContract.winmd;,Windows.System.Profile.SystemManufacturers.SystemManufacturersContract.winmd;,Windows.System.Profile.ProfileRetailInfoContract.winmd;,Windows.System.UserProfile.UserProfileContract.winmd;
  • shiref
    Options
    ,Windows.System.UserProfile.UserProfileLockScreenContract.winmd;,Windows.UI.ApplicationSettings.ApplicationsSettingsContract.winmd;,Windows.UI.Core.AnimationMetrics.AnimationMetricsContract.winmd;,Windows.UI.Core.CoreWindowDialogsContract.winmd;,Windows.UI.Xaml.Hosting.HostingContract.winmd;,Windows.Web.Http.Diagnostics.HttpDiagnosticsContract.winmd;,Windows.System.SystemManagementContract.winmd;,Windows.ApplicationModel.Calls.CallsPhoneContract.winmd;,Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract.winmd;,Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract.winmd;,Windows.Devices.SmartCards.SmartCardEmulatorContract.winmd;,Windows.Embedded.DeviceLockdown.DeviceLockdownContract.winmd;,Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract.winmd;,Windows.Phone.PhoneContract.winmd;,Windows.Phone.StartScreen.DualSimTileContract.winmd;,Windows.UI.WebUI.Core.WebUICommandBarContract.winmd --ignore=System.IConvertible,mscorlib.
    Error: method `System.Void System.Array::Copy(System.Array,System.Int64,System.Array,System.Int64,System.Int64)` doesn't exist in target framework. It is referenced from websocket-sharp.dll at T[] WebSocketSharp.Ext::Copy(T[],System.Int64).
    Error: method `System.IAsyncResult System.IO.Stream::BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)` doesn't exist in target framework. It is referenced from websocket-sharp.dll at System.Void WebSocketSharp.Ext::CopyToAsync(System.IO.Stream,System.IO.Stream,System.Int32,System.Action,System.Action`1).
    Error: type `System.Net.Sockets.TcpClient` doesn't exist in target framework. It is referenced from websocket-sharp.dll at WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext WebSocketSharp.Ext::GetWebSocketContext(System.Net.Sockets.TcpClient,System.String,System.Boolean,WebSocketSharp.Net.ServerSslConfiguration,WebSocketSharp.Logger).
    Error: type `System.Net.Sockets.TcpClient` doesn't exist in target framework. It is referenced from websocket-sharp.dll at WebSocketSharp.Net.WebSockets.TcpListenerWebSocketContext WebSocketSharp.Ext::GetWebSocketContext(System.Net.Sockets.TcpClient,System.String,System.Boolean,WebSocketSharp.Net.ServerSslConfiguration,WebSocketSharp.Logger).
    Error: method `System.IAsyncResult System.IO.Stream::BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)` doesn't exist in target framework. It is referenced from websocket-sharp.dll at System.Void WebSocketSharp.Ext::ReadBytesAsync(System.IO.Stream,System.Int32,System.Action`1,System.Action`1).
    Error: method `System.Net.IPAddress[] System.Net.Dns::GetHostAddresses(System.String)` doesn't exist in target framework. It is referenced from websocket-sharp.dll at System.Net.IPAddress WebSocketSharp.Ext::ToIPAddress(System.String).
    Error: type `System.Collections.Specialized.NameValueCollection` doesn't exist in target framework. It is referenced from websocket-sharp.dll at System.Boolean WebSocketSharp.Ext::Contains(System.Collections.Specialized.NameValueCollection,System.String).
    Error: type `System.Collections.Specialized.NameObjectCollectionBase` doesn't exist in target framework. It is referenced from websocket-sharp.dll at System.Boolean WebSocketSharp.Ext::Contains(System.Collections.Specialized.NameValueCollection,System.String).
    Error: method `System.Int32 System.Collections.Specialized.NameObjectCollectionBase::get_Count()` doesn't exist in target framework. It is referenced from websocket-sharp.dll at System.Boolean WebSocketSharp.Ext::Contains(System.Collections.Specialized.NameValueCollection,System.String).
    Error: type `System.Collections.Specialized.NameValueCollection` doesn't exist in target framework. It is referenced from websocket-sharp.dll at System.Boolean WebSocketSharp.Ext::Contains(System.Collections.Specialized.NameValueCollection,System.String).
    Error: method `System.String System.Collections.Specialized.NameValueCollection::get_Item(System.String)` doesn't exist in target framework. It is referenced from websocket-sharp.dll at System.Boolean WebSocketSharp.Ext::Contains(System.Collections.Specialized.NameValueCollection,System.String).
    Error: type `System.Collections.Specialized.) and more like this
    all about
    PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:560)
    PostProcessWinRT:Process() (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:127)
    UnityEditor.HostView:OnGUI()
    then

    when i try to run in vs 2015 hololens emulator give me this error
    {Severity Code Description Project File Line Suppression State
    Error The command ""C:\Users\Eng Shiref\Desktop\New folder (3)\Unity\Tools\AssemblyConverter.exe" -platform=uap -lock="C:\Users\Eng Shiref\Desktop\New folder (3)\qq\project.lock.json" -bits=32 -configuration=Debug -removeDebuggableAttribute=False -path="." -path="C:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x86\Debug" "C:\Users\Eng Shiref\Desktop\New folder (3)\qq\Assembly-CSharp-firstpass.dll" "C:\Users\Eng Shiref\Desktop\New folder (3)\qq\Assembly-CSharp.dll" "C:\Users\Eng Shiref\Desktop\New folder (3)\qq\UnityEngine.dll" "C:\Users\Eng Shiref\Desktop\New folder (3)\qq\UnityEngine.UI.dll" "C:\Users\Eng Shiref\Desktop\New folder (3)\qq\UnityEngine.HoloLens.dll" "C:\Users\Eng Shiref\Desktop\New folder (3)\qq\websocket-sharp.dll" "C:\Users\Eng Shiref\Desktop\New folder (3)\qq\UnityEngine.Networking.dll" "C:\Users\Eng Shiref\Desktop\New folder (3)\qq\UnityEngine.VR.dll" "C:\Users\Eng Shiref\Desktop\New folder (3)\qq\Photon3Unity3D.dll"" exited with code 1. qq C:\Users\Eng Shiref\Desktop\New folder (3)\qq\qq.csproj 278
    }
    and in version 2017.2.b3 cant start build
  • shiref
    shiref
    edited November 2017
    Options


    and thank you agine
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @shiref,

    We can't read this.
    Can you post this on pastebin or hastebin?
    Or better:
    Or upload log files to dropbox or Google drive and share links?

    1 file per logs
    do not add comments just name files properly
  • shiref
    Options
    hi @JohnTube mod
    thanks for replay



    i am only use unity voice and start build for windows store
    targetdevice : hololens
    uwp buildtype:d3d
    with demo project i get this error after build from unity
    in this link
    https://drive.google.com/file/d/1kD_dcnlK24MJYWIeiwDA-kE1jA1x2wST/view?usp=sharing

    https://drive.google.com/file/d/1aoRQLxqAGCcMqoJ24LtjYKwqYABeTwh7/view?usp=sharing
    then
    the emalutor of hololens stop work because in vs 2015
    this like of error
    https://drive.google.com/file/d/1Xfr-BWQje2Byzhf5ztst2vgvnQmrrQd-/view?usp=sharing
    and thank you