Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Unity 2018.3 is now released.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Impossible Build UWP + NET Backend + Unity.Purchasing

Discussion in 'Windows' started by MrPacoGP, Feb 8, 2019.

  1. MrPacoGP

    MrPacoGP

    Joined:
    Jul 18, 2013
    Posts:
    270
    Hi, i have scriptbacked net because its the only way to get vungle ads working in Unity UWP
    I can compile selecting NET in override, and when i try a buidl in Visual i get:

    Error El comando ""U:\Unity\MelodyHouse\Build\Unity\Tools\AssemblyConverter.exe" -platform=uap -bits=64 -configuration=Debug -removeDebuggableAttribute=False -uwpsdk=10.0.17763.0 -path="." -path="U:\Program Files\Unity\Editor\Data\PlaybackEngines\MetroSupport\Players\UAP\dotnet\x64\Debug" -workingDir="U:\Unity\MelodyHouse\Build\Requiem for Erich Sann\\" "@U:\Unity\MelodyHouse\Build\Requiem for Erich Sann\AssemblyConverterArgs.txt"" salió con el código 1. Requiem for Erich Sann U:\Unity\MelodyHouse\Build\Requiem for Erich Sann\Requiem for Erich Sann.csproj 479

    Any suggestion are welcome.
    Best regards.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    5,929
    What's in the "Output" window in Visual Studio after this error happens? Do you get any errors in Unity console when you're building the project from Unity?
     
    MrPacoGP likes this.
  3. MrPacoGP

    MrPacoGP

    Joined:
    Jul 18, 2013
    Posts:
    270
    Yes, my problem is when i try to compile with any combo of net, net 4.5 or net 3.6 using vungle ads, because they dont support il2cpp and unity inapp purchase:

    Code (CSharp):
    1. Reference Rewriter found some errors while running with command "--target=Temp\StagingArea\Unity.TextMeshPro.dll" "--target=Temp\StagingArea\Assembly-CSharp.dll" "--target=Temp\StagingArea\Assembly-CSharp-firstpass.dll" "--target=Temp\StagingArea\Stores.dll" "--target=Temp\StagingArea\UnityEngine.Timeline.dll" "--target=Temp\StagingArea\winrt.dll" "--target=Temp\StagingArea\ChannelPurchase.dll" "--target=Temp\StagingArea\nunit.framework.dll" "--target=Temp\StagingArea\UnityEngine.UI.dll" "--target=Temp\StagingArea\Purchasing.Common.dll" "--target=Temp\StagingArea\UnityEngine.SpatialTracking.dll" "--target=Temp\StagingArea\UnityEngine.Analytics.dll" "--target=Temp\StagingArea\Security.dll" "--target=Temp\StagingArea\UnityEngine.HoloLens.dll" "--target=Temp\StagingArea\FacebookStore.dll" "--target=Temp\StagingArea\UnityEngine.StandardEvents.dll" "--target=Temp\StagingArea\Apple.dll" "--target=Temp\StagingArea\UnityEngine.Purchasing.dll" "--target=Temp\StagingArea\UnityEngine.Networking.dll" "--target=Temp\StagingArea\UnityEngine.TestRunner.dll" "--target=Temp\StagingArea\UnityStore.dll" "--target=Temp\StagingArea\Tizen.dll" "--additionalreferences=Temp\StagingArea,C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0\Facade,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.AI.MachineLearning.MachineLearningContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Calls.Background.CallsBackgroundContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Calls.CallsPhoneContract\4.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Calls.CallsVoipContract\4.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.SocialInfo.SocialInfoContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.StartupTaskContract\3.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Devices.Custom.CustomDeviceContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Devices.DevicesLowLevelContract\3.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Devices.Printers.PrintersContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract\3.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Devices.SmartCards.SmartCardEmulatorContract\6.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Foundation.FoundationContract\3.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Foundation.UniversalApiContract\7.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Gaming.XboxLive.StorageApiContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Graphics.Printing3D.Printing3DContract\4.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Networking.Connectivity.WwanContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Networking.Sockets.ControlChannelTriggerContract\3.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Services.Maps.GuidanceContract\3.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Services.Maps.LocalSearchContract\4.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Services.Store.StoreContract\4.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Services.TargetedContent.TargetedContentContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.System.Profile.ProfileHardwareTokenContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.System.Profile.ProfileSharedModeContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.System.Profile.SystemManufacturers.SystemManufacturersContract\3.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.System.SystemManagementContract\6.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.UI.ViewManagement.ViewManagementViewScalingContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.UI.Xaml.Core.Direct.XamlDirectContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Activation.ActivatedEventsContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Activation.ActivationCameraSettingsContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Activation.ContactActivatedEventsContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Calls.LockScreenCallContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.FullTrustAppContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Preview.InkWorkspace.PreviewInkWorkspaceContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Preview.Notes.PreviewNotesContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Resources.Management.ResourceIndexerContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Search.Core.SearchCoreContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Search.SearchContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.ApplicationModel.Wallet.WalletContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Devices.Portable.PortableDeviceContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Devices.Printers.Extensions.ExtensionsContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Devices.Scanners.ScannerDeviceContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Devices.Sms.LegacySmsApiContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Gaming.Input.GamingInputPreviewContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Gaming.Preview.GamesEnumerationContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Gaming.UI.GameChatOverlayContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Gaming.UI.GamingUIProviderContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Management.Deployment.Preview.DeploymentPreviewContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Management.Workplace.WorkplaceSettingsContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Media.AppBroadcasting.AppBroadcastingContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Media.AppRecording.AppRecordingContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Media.Capture.AppBroadcastContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Media.Capture.AppCaptureContract\4.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Media.Capture.AppCaptureMetadataContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Media.Capture.CameraCaptureUIContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Media.Capture.GameBarContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Media.Devices.CallControlContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Media.MediaControlContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Media.Playlists.PlaylistsContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Media.Protection.ProtectionRenewalContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Networking.NetworkOperators.LegacyNetworkOperatorsContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Networking.XboxLive.XboxLiveSecureSocketsContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Perception.Automation.Core.PerceptionAutomationCoreContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Security.EnterpriseData.EnterpriseDataContract\5.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Security.ExchangeActiveSyncProvisioning.EasContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Storage.Provider.CloudFilesContract\3.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.System.Profile.ProfileRetailInfoContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.System.UserProfile.UserProfileContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.System.UserProfile.UserProfileLockScreenContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.UI.ApplicationSettings.ApplicationsSettingsContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.UI.Core.AnimationMetrics.AnimationMetricsContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.UI.Core.CoreWindowDialogsContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.UI.Shell.SecurityAppManagerContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.UI.Xaml.Hosting.HostingContract\3.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Web.Http.Diagnostics.HttpDiagnosticsContract\2.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Embedded.DeviceLockdown.DeviceLockdownContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Phone.PhoneContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.Phone.StartScreen.DualSimTileContract\1.0.0.0,C:\Program Files (x86)\Windows Kits\10\References\10.0.17763.0\Windows.UI.WebUI.Core.WebUICommandBarContract\1.0.0.0" "--platform=C:\Program Files (x86)\Windows Kits\10\UnionMetadata\10.0.17763.0\Facade\Windows.winmd" "--dbg=pdb" "--support=Temp\StagingArea\WinRTLegacy.dll" "--supportpartialns=Unity.Partial" "--system=System" "--lock=UWP\project.lock.json" "--winmdrefs=VungleSDK,VungleSDKProxy" "--alt=Microsoft.Win32.SafeHandles,System.IO.FileSystem;Microsoft.Win32.SafeHandles,System.Runtime.Handles;System,System.ComponentModel;System,System.Data.Common;System,System.Runtime;System,System.Runtime.Extensions;System,System.Runtime.InteropServices;System,System.Threading.Tasks;System.CodeDom.Compiler,System.Diagnostics.Tools;System.Collections,System.Collections;System.Collections,System.Collections.NonGeneric;System.Collections,System.Runtime;System.Collections.Generic,System.Collections;System.Collections.Generic,System.Runtime;System.Collections.ObjectModel,System.ObjectModel;System.Collections.ObjectModel,System.Runtime;System.Collections.Specialized,System.Collections.NonGeneric;System.Collections.Specialized,System.Collections.Specialized;System.Collections.Specialized,System.ObjectModel;System.ComponentModel,Microsoft.Win32.Primitives;System.ComponentModel,System.ComponentModel;System.ComponentModel,System.ComponentModel.EventBasedAsync;System.ComponentModel,System.ObjectModel;System.ComponentModel,System.Runtime;System.ComponentModel.DataAnnotations,System.ComponentModel.Annotations;System.Data,System.Data.Common;System.Data.Common,System.Data.Common;System.Diagnostics,System.Diagnostics.Debug;System.Diagnostics,System.Diagnostics.StackTrace;System.Diagnostics,System.Runtime;System.Diagnostics,System.Runtime.Extensions;System.Diagnostics.CodeAnalysis,System.Diagnostics.Tools;System.Globalization,System.Globalization;System.Globalization,System.Globalization.Calendars;System.Globalization,System.Globalization.Extensions;System.Globalization,System.Runtime;System.IO,System.IO;System.IO,System.IO.FileSystem;System.IO,System.IO.FileSystem.Primitives;System.IO,System.IO.UnmanagedMemoryStream;System.IO,System.Runtime;System.IO,System.Runtime.Extensions;System.IO,System.Runtime.Handles;System.IO.Compression,System.IO.Compression;System.IO.IsolatedStorage,System.IO.IsolatedStorage;System.Linq,System.Linq;System.Linq,System.Linq.Expressions;System.Linq,System.Linq.Queryable;System.Linq.Expressions,System.Linq.Expressions;System.Net,System.Net.Primitives;System.Net,System.Net.Requests;System.Net,System.Net.WebHeaderCollection;System.Net.NetworkInformation,System.Net.NetworkInformation;System.Net.NetworkInformation,System.Net.Primitives;System.Net.Security,System.Net.Primitives;System.Net.Sockets,System.Net.Primitives;System.Net.Sockets,System.Net.Sockets;System.Reflection,System.Reflection;System.Reflection,System.Reflection.Extensions;System.Reflection,System.Reflection.Primitives;System.Reflection,System.Reflection.TypeExtensions;System.Reflection,System.Runtime;System.Reflection,System.Runtime.InteropServices;System.Reflection.Emit,System.Reflection.Primitives;System.Resources,System.Resources.ResourceManager;System.Runtime,System.Runtime;System.Runtime.CompilerServices,System.Runtime;System.Runtime.InteropServices,System.Runtime;System.Runtime.InteropServices,System.Runtime.Handles;System.Runtime.InteropServices,System.Runtime.InteropServices;System.Runtime.InteropServices.ComTypes,System.Runtime.InteropServices;System.Runtime.Serialization,System.Runtime.Serialization.Primitives;System.Runtime.Serialization,System.Runtime.Serialization.Xml;System.Runtime.Serialization.Json,System.Runtime.Serialization.Json;System.Security,System.Runtime;System.Security.Authentication,System.Net.Primitives;System.Security.Principal,System.Security.Claims;System.Security.Principal,System.Security.Principal;System.ServiceModel,System.ServiceModel.Duplex;System.ServiceModel,System.ServiceModel.Http;System.ServiceModel,System.ServiceModel.NetTcp;System.ServiceModel,System.ServiceModel.Primitives;System.ServiceModel,System.ServiceModel.Security;System.ServiceModel.Channels,System.ServiceModel.Http;System.ServiceModel.Channels,System.ServiceModel.NetTcp;System.ServiceModel.Channels,System.ServiceModel.Primitives;System.ServiceModel.Channels,System.ServiceModel.Security;System.ServiceModel.Description,System.ServiceModel.Primitives;System.ServiceModel.Dispatcher,System.ServiceModel.Primitives;System.ServiceModel.Security,System.ServiceModel.Primitives;System.ServiceModel.Security,System.ServiceModel.Security;System.ServiceModel.Security.Tokens,System.ServiceModel.Security;System.Text,System.Globalization.Extensions;System.Text,System.Runtime;System.Text,System.Text.Encoding;System.Text,System.Text.Encoding.Extensions;System.Text.RegularExpressions,System.Text.RegularExpressions;System.Thr<message truncated>
    Reference rewriter: Error: method `System.Reflection.ConstructorInfo System.Type::GetConstructor(System.Type[])` doesn't exist in target framework. It is referenced from Stores.dll at System.Collections.Generic.List`1<UnityEngine.Purchasing.Extension.ProductDescription> UnityEngine.Purchasing.JSONSerializer::DeserializeProductDescriptions(System.String).
    UnityEngine.Debug:LogError(Object)
    PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1058)
    PostProcessWinRT:process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:208)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

    Reference rewriter: Error: type `System.Console` doesn't exist in target framework. It is referenced from Stores.dll at System.Void UnityEngine.Purchasing.AppleStoreImpl::OnProductsRetrieved(System.String).
    UnityEngine.Debug:LogError(Object)
    PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1058)
    PostProcessWinRT:process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:208)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

    Reference rewriter: Error: method `System.Void System.Console::WriteLine(System.String,System.Object)` doesn't exist in target framework. It is referenced from Stores.dll at System.Void UnityEngine.Purchasing.AppleStoreImpl::OnProductsRetrieved(System.String).
    UnityEngine.Debug:LogError(Object)
    PostProcessWinRT:RunReferenceRewriter() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:1058)
    PostProcessWinRT:process() (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/PostProcessWinRT.cs:208)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

    I can compile with Vungle ads selecting Net as scripting, .net as backend, and api net 2.0

    Ïn compilation override i have tryed net core, none... all time got this error.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    5,929
    Those errors are likely the cause for the crash when building from VS. What is this Stores.dll?
     
    MrPacoGP likes this.
  5. MrPacoGP

    MrPacoGP

    Joined:
    Jul 18, 2013
    Posts:
    270
    I think that dll its from purchasing plugin of Unity. If i disable the purchasing system then i can compile without problems.
     
  6. MrPacoGP

    MrPacoGP

    Joined:
    Jul 18, 2013
    Posts:
    270
    Looking better at those errors i have, maybe that Stores.dll its the problem when i use Net as Backend for UWP.
    I have found this thread with similar issue: https://forum.unity.com/threads/uwp...cket-doesnt-exist-in-target-framework.492143/

    But, how can i recompile a dll with changing the target? I never as been do it something like this.
    -- edit--
    I have found Stores.dll inside plugins/UnityPurchasing/bin
    I can select it and set SDK ->UWP, ScriptingBacked DotNet?
    Maybe i have to setup correctly that dll to compile with net, but how?

    Apologize about my english.

     
    Last edited: Feb 9, 2019
  7. MrPacoGP

    MrPacoGP

    Joined:
    Jul 18, 2013
    Posts:
    270
    Anyone with windows, can test to do a build with Unity.Purchasing with Net as Backend for UWP?
    Its seems like an official bug. Its impossible.
     
  8. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    3,380
    MrPacoGP likes this.
  9. MrPacoGP

    MrPacoGP

    Joined:
    Jul 18, 2013
    Posts:
    270
    Thank you very much for support.
    finally solved with your solution.
    We cannot use il2cpp because we need net for get working vungle ads in Microsoft Store.
    Waiting for unity ads in a coming future soon xD