Search Unity

ReflectionTypeLoadException: The classes in the module cannot be loaded.

Discussion in 'Unity IAP' started by motorious, Aug 25, 2017.

Thread Status:
Not open for further replies.
  1. motorious

    motorious

    Joined:
    Jun 25, 2016
    Posts:
    11
    ReflectionTypeLoadException: The classes in the module cannot be loaded.
    System.Reflection.Assembly.GetTypes () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371)
    UnityEditor.Purchasing.UnityIAPInstaller.<GetPurchasing>m__0 (System.Reflection.Assembly assembly) (at Assets/Plugins/UnityPurchasing/Editor/UnityIAPInstaller.cs:101)
    System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator14`3[System.Reflection.Assembly,System.Type,<>__AnonType0`2[System.Reflection.Assembly,System.Type]].MoveNext ()
    System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[<>__AnonType0`2[System.Reflection.Assembly,System.Type]].MoveNext ()
    System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[<>__AnonType0`2[System.Reflection.Assembly,System.Type],System.Type].MoveNext ()
    System.Linq.Enumerable.FirstOrDefault[Type] (IEnumerable`1 source)
    UnityEditor.Purchasing.UnityIAPInstaller.GetPurchasing () (at Assets/Plugins/UnityPurchasing/Editor/UnityIAPInstaller.cs:103)
    UnityEditor.Purchasing.UnityIAPInstaller.EnablePurchasingService () (at Assets/Plugins/UnityPurchasing/Editor/UnityIAPInstaller.cs:459)
    UnityEditor.Purchasing.UnityIAPInstaller.Install () (at Assets/Plugins/UnityPurchasing/Editor/UnityIAPInstaller.cs:314)

    Latest unity IAP patch, where should I start to look?
     
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Please provide steps to reproduce with a new project.
     
  3. ap-unity

    ap-unity

    Unity Technologies

    Joined:
    Aug 3, 2016
    Posts:
    1,519
    This looks like an issue with the IAP Updater. If you try to run the Updater again, it should install normally.

    If not, could you provide some more details:
    • Which version of the Unity Editor are you using?
    • And which version of Unity IAP were you updating from?
     
  4. motorious

    motorious

    Joined:
    Jun 25, 2016
    Posts:
    11
    Unity 5.6.3.p1 , and thank you, running updater again did help after cloning repo from last stable commit.

    Where I can check the IAP versions? Services tab doesn't show it.
    Nm. found the changelog.md. From 1.11.1 to 1.13.1.
     
    Last edited: Aug 31, 2017
  5. beQr86

    beQr86

    Joined:
    Jul 2, 2015
    Posts:
    21
    Hi here,

    I'm using unity 5.6.3p2 and unity purchasing version 1.13.1 (Windows 10) [same thing on unity 5.6.1p1]
    I got this exceptions when I start unity or each time I recompile or reimport / install the unity purchase plugin :

     
    Menion-Leah likes this.
  6. Menion-Leah

    Menion-Leah

    Joined:
    Nov 5, 2014
    Posts:
    189
    Similar situation here (Win 10, errors on start / rebuild / reinstall IAP plugin), with a slightly different error message:

    Just updated Unity to 2017.1.1f1 and IAP to 1.13.1
     
  7. Menion-Leah

    Menion-Leah

    Joined:
    Nov 5, 2014
    Posts:
    189
    I fixed it by:
    - disabling IAP
    - deleting ..Assets\Plugins\UnityPurchasing folder
    - downloading and importing IAP package from Asset Store
    - import Unity Purchasing .package (found in Plugins\UnityPurchasing folder)
    - answering "Yes" to each question, even if prompted multiple times
     
    beQr86 likes this.
  8. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    @Menion-Leah Glad it's working for you! I just installed Unity 2017.1.1f1 and IAP 1.13.1 (only) in a brand new empty project. It compiled and ran without issue in the Editor on Windows 10. Can you provide steps to reproduce your issue? Perhaps you were upgrading from a previous version, or targeting a specific platform?
     
  9. Menion-Leah

    Menion-Leah

    Joined:
    Nov 5, 2014
    Posts:
    189
    Sure, @JeffDUnity3D

    No issues in 2017.1.0b4, but immediately after upgrading to 1f1 i was prompted to update IAP package.
    I answered "Yes" two or three times, then editor got stuck with a progress bar for several minutes (sorry, I cannot recall its label/message). After forcibly closing the editor and launching it again, the problem appeared (it also affected Editor Console Pro, which stopped working and gave 999+ errors).
    Re-updating from Services panel or Asset Store didn't work.

    Luckily, the above mentioned steps did the trick. :)

    Hope it helps
     
  10. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    @Menion-Leah Can you provide specific repro steps with a new project? To fix an issue, we first need to reproduce in-house here. So if I create a minimal project (no other assets except IAP) in 2017.1.0b4 then upgrade to 2017.1.1f1, it will occur?
     
  11. beQr86

    beQr86

    Joined:
    Jul 2, 2015
    Posts:
    21
    @Menion-Leah thanks a lot ! that totally worked out like a charm ! I would just add some details, I dont know if it does change anything :
    - disable IN-APP purchasing from the services window
    - delete ..Assets\Plugins\UnityPurchasing folder
    - downloading and importing IAP package from Asset Store
    - import Unity IAP.package (found in Plugins\UnityPurchasing folder)
    - import Unity Channel.package (found in Plugins\UnityPurchasing folder)
    - answer "Yes" to each question, even if prompted multiple times
    - enable IN-APP purchasing from the services window

    @JeffDUnity3D I'm afraid I cannot tell you how you can reproduce this. Its definetly related to updating the Unity IAP plugin and maybe also upgrading an existing project to a newer version of unity (The unity update happening first).
    As far as I can remember, I started upgrading a project that was running under Unity 5.3.x to 5.6.1p1 then I updated the IAP plugin (I dont remember if the error occurred before this latter update) I have tried everything even going to a newer unity version, updating android SDK and Java JDK, rebooting, rerunning uniy etc... the only thing I didn't try was totally wiping out the unity purchasing plugin which is more logic that everything else I have done xD so thanks again @Menion-Leah
     
  12. Menion-Leah

    Menion-Leah

    Joined:
    Nov 5, 2014
    Posts:
    189
    @JeffDUnity3D sorry, I'm not able to revert to 2017.1.0b4 now to test it with an empty project

    @beQr86 glad it helped! :)
    You're right, I forgot mentioning re-enabling IAP from services; in my case, Unity Channel.package imported automatically when I imported UnityIAP.package.
     
  13. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    @Menion-Leah Understood! One note, it is possible to have 2 separate installations of Unity on the same machine, just place them in separate directories.
     
  14. Cookieg82

    Cookieg82

    Joined:
    Mar 28, 2017
    Posts:
    73
    this is still happening - quite frustrating... any news on the correct fix for this issue? Just upgraded to latest Unity package 2018.1.1f1
     

    Attached Files:

  15. unityjingyao

    unityjingyao

    Unity Technologies

    Joined:
    Feb 20, 2017
    Posts:
    220
    Hi @Cookieg82 ,
    Could you please provide steps to reproduce this issue with a new project?
    Have you tried to delete and re-import Unity IAP plugin?
     
  16. dragomir77

    dragomir77

    Joined:
    Aug 10, 2015
    Posts:
    4
    i not have
    Unity IAP.package (found in Plugins\UnityPurchasing folder)
    Unity Channel.package (found in Plugins\UnityPurchasing folder)
    help
    and if i pres reimport in services pannel, rg.PNG fgdh.PNG

     
  17. dragomir77

    dragomir77

    Joined:
    Aug 10, 2015
    Posts:
    4
  18. dragomir77

    dragomir77

    Joined:
    Aug 10, 2015
    Posts:
    4
  19. dragomir77

    dragomir77

    Joined:
    Aug 10, 2015
    Posts:
    4
    io try to build an this is error message:
    UnityException: impossibile eseguire serialization weaver con il comando "Temp \ StagingArea \ Data \ Managed \ Stores.dll" "-pdb" "-verbose" "-unity-engine = Temp \ StagingArea \ Data \ Managed \ UnityEngine.dll" "Temp \ StagingArea \ TempSerializationWeaver "" -lock = UWP \ project.lock.json "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ UnionMetadata \ 10.0.19041.0 \ Facade "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.AI.MachineLearning.MachineLearningContract \ 3.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0 .19041.0 \ Windows.AI.MachineLearning.Preview.MachineLearningPreviewContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Calls.Background.CallsBackgroundContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Calls.CallsPhoneContract \ 5.0. 0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Calls.CallsVoipContract \ 4.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.CommunicationBlocking.CommunicationBlockingContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows. ApplicationModel.SocialInfo.SocialInfoContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.StartupTaskContract \ 3.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Devices.Custom.CustomDeviceContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program File (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Devices.DevicesLowLevelContract \ 3.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Devices.Printers.PrintersContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Devices.SmartCards.SmartCardBackgroundTriggerContract \ 3.0.0.0 "" - additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Devices.SmartCards.SmartCardEmulatorContract \ 6.0.0.0 "" -additionalAssemblyPath = C:\ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Foundation.FoundationContract \ 4.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0. 19041.0 \ Windows.Foundation.UniversalApiContract \ 10.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Gaming.XboxLive.StorageApiContract \ 1.0.0.0 "" - additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Graphics.Printing3D.Printing3DContract \ 4.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Networking.Connectivity.WwanContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Networking.Sockets.ControlChannelTriggerContract \ 3.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Security.Isolation.IsolatedWindowsEnvironmentContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program File (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Services.Maps.GuidanceContract \ 3.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0. 19041.0 \ Windows.Services.Maps.LocalSearchContract \ 4.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Services.Store.StoreContract \ 4.0.0.0 " "-additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Services.TargetedContent.TargetedContentContract \ 1.0.0.0" "-additionalAssemblyPath = C:\ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Storage.Provider.CloudFilesContract \ 4.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.System.Profile.ProfileHardwareTokenContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.System.Profile.ProfileSharedModeContract \ 2.0. 0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.System.Profile.SystemManufacturers.SystemManufacturersContract \ 3.0.0.0 "" -additionalAssemblyPath = C: \ Program Files ( x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.System.SystemManagementContract \ 7.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.UI.ViewManagement.ViewManagementViewScalingContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.UI.Xaml.Core.Direct.XamlDirectContract \ 2.0.0.0 " "-additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Activation.ActivatedEventsContract \ 1.0.0.0" "-additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Activation.ActivationCameraSettingsContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel. Activation.ContactActivatedEventsContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Activation.WebUISearchActivatedEventsContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Background.BackgroundAlarmApplicationContract \ 1.0.0.0 "" -additionalAssemblyPath = \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Calls.LockScreenCallContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.FullTrustAppContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Preview.InkWorkspace.PreviewInkWorkspace. 0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Preview.Notes.PreviewNotesContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Resources.Management.ResourceIndexerContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Search.Core.SearchCoreContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Search.SearchContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.ApplicationModel.Wallet. WalletContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Devices.Portable.PortableDeviceContract \ 1.0.0.0 ""-additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Devices.Printers.Extensions.ExtensionsContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Devices.Scanners.ScannerDeviceContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Devices .Sms.LegacySmsApiContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Gaming.Input.GamingInputPreviewContract \ 1.0.0.0 "" -additionalAssemblyPath = C : \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Gaming.Preview.GamesEnumerationContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Gaming.UI.GameChatOverlayContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Gaming.UI.GamingUIProviderContract \ 1.0.0.0 " "-additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Globalization.GlobalizationJapanesePhoneticAnalyzerContract \ 1.0.0.0" "-additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Management.Deployment.Preview.DeploymentPreviewContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Management. Workplace.WorkplaceSettingsContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Media.AppBroadcasting.AppBroadcastingContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Media.AppRecording.AppRecordingContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program File (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Media.Capture.AppBroadcastContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0. 19041.0 \ Windows.Media.Capture.AppCaptureContract \ 4.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Media.Capture.AppCaptureMetadataContract \ 1.0.0.0 " "-additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Media.Capture.CameraCaptureUIContract \ 1.0.0.0" "-additionalAssemblyPath = C:\ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Media.Capture.GameBarContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Media.Devices.CallControlContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Media.MediaControlContract \ 1.0.0.0 " "-additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Media.Playlists.PlaylistsContract \ 1.0.0.0" "-additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Media.Protection.ProtectionRenewalContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Networking. NetworkOperators.LegacyNetworkOperatorsContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Networking.XboxLive.XboxLiveSecureSocketsContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program File (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Perception.Automation.Core.PerceptionAutomationCoreContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Security.EnterpriseData.EnterpriseDataContract \ 5.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Security.ExchangeActiveSyncProvisioning.EasContract \ 1.0. 0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.System.Profile.ProfileRetailInfoContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.System.UserProfile.UserProfileContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.System.UserProfile.UserProfileLockScreenContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows. UI.ApplicationSettings.ApplicationsSettingsContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.UI.Core.AnimationMetrics.AnimationMetricsContract \ 1.0.0.0 "" - additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.UI.Core.CoreWindowDialogsContract \ 1.0.0.0 "" -additionalAssemblyPath = C:\ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.UI.Shell.SecurityAppManagerContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.UI.Xaml.Hosting.HostingContract \ 4.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Web.Http.Diagnostics. HttpDiagnosticsContract \ 2.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Embedded.DeviceLockdown.DeviceLockdownContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program File (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Networking.NetworkOperators.NetworkOperatorsFdnContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Program Files (x86) \ Windows Kits \ 10 \ References \ 10.0. 19041.0 \ Windows.Phone.PhoneContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.Phone.StartScreen.DualSimTileContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.UI.WebUI.Core.WebUICommandBarContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ Riferimenti \ 10.0.19041.0 \ Windows.UI.Core.Preview.Communications.PreviewCommunicationsContract \ 1.0.0.0 "" -additionalAssemblyPath = Temp \ StagingArea \ Data \ Managed ".0 \ Windows.UI.WebUI.Core.WebUICommandBarContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.UI.Core.Preview.Communications. PreviewCommunicationsContract \ 1.0.0.0 "" -additionalAssemblyPath = Temp \ StagingArea \ Data \ Managed ".0 \ Windows.UI.WebUI.Core.WebUICommandBarContract \ 1.0.0.0 "" -additionalAssemblyPath = C: \ Programmi (x86) \ Windows Kits \ 10 \ References \ 10.0.19041.0 \ Windows.UI.Core.Preview.Communications. PreviewCommunicationsContract \ 1.0.0.0 "" -additionalAssemblyPath = Temp \ StagingArea \ Data \ Managed ".
    I simboli verranno letti da Temp \ StagingArea \ Data \ Managed \ UnityEngine.pdb
    Nessun simbolo per Temp \ StagingArea \ Data \ Managed \ Stores.dll
    Assemblaggio tessitura C: \ Users \ Rodica \ Documents \ New Unity Project 1 \ Temp \ StagingArea \ Data \ Managed \ Stores.dll
    + UnityEngine.Purchasing.AsyncWebUtil
    + UnityEngine.Purchasing.Price
    + UnityEngine.Purchasing.StoreID
    + UnityEngine.Purchasing.LocalizedProductDescription
    + UnityEngine.Purchasing.ProductCatalogPayout
    + UnityEngine.Purchasing.ProductCatalogItem
    + UnityEngine.Purchasing.ProductCatalog
    + UnityEngine.Purchasing.UnifiedReceipt
    + UnityEngine.Purchasing.UIFakeStore / LifecycleNotifier
    + UnityEngine.Purchasing.Extension.UnityUtil
    Esporterà simboli in formato pdb
    Mono.Cecil.ResolutionException: impossibile risolvere System.Reflection.BindingFlags
    in Mono.Cecil.Mixin.CheckedResolve (TypeReference self)
    in Mono.Cecil.MetadataBuilder.GetConstantType (TypeReference constant_type, Object constant)
    in Mono.Cecil.MetadataBuilder.AddConstant (proprietario IConstantProvider, tipo TypeReference)
    in Mono.Cecil.MetadataBuilder.AddField (campo FieldDefinition)
    in Mono.Cecil.MetadataBuilder.AddFields (tipo TypeDefinition)
    in Mono.Cecil.MetadataBuilder.AddType (tipo TypeDefinition)
    in Mono.Cecil.MetadataBuilder.AddTypeDefs ()
    in Mono.Cecil.MetadataBuilder.BuildTypes ()
    in Mono.Cecil.MetadataBuilder.BuildModule ()
    in Mono.Cecil.ModuleWriter. <> c. <BuildMetadata> b__1_0 (MetadataBuilder builder, MetadataReader _)
    in Mono.Cecil.ModuleDefinition.Read [TItem, TRet] (TItem item, Func`3 read)
    in Mono.Cecil.ModuleWriter.WriteModuleTo (modulo ModuleDefinition, Stream stream, parametri WriterParameters)
    in Mono.Cecil.ModuleDefinition.Write (String fileName, parametri WriterParameters)
    in usw.Weaver.WeaveAssembly (String assemblyPath, AssemblyDefinition unityEngineAssemblyDefinition, ReaderParameters readerParameters)
    in usw.Weaver.Weave ()
    in usw.Program.RunProgram (opzioni ConversionOptions)
    in usw.Program.Main (String [] args)

    PostProcessWinRT.RunSerializationWeaver () (in C: /buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs: 497)
    PostProcessWinRT.Process () (in C: /buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs: 149)
    UnityEditor.WSA.BuildPostprocessor.DoPostProcess (BuildPostProcessArgs args) (in C: /buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs: 155)
    UnityEditor.WSA.BuildPostprocessor.PostProcess (BuildPostProcessArgs args) (in C: /buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs: 162)
    UnityEditor.HostView: OnGUI () cx.PNG
     
  20. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    I'm locking this thread because the last posts do not have relevance to the subject heading. Please open a new thread. However, to enable IAP:

    * Start with a new project
    * Open the Services window (menu Window/General/Services)
    * Enable Analytics, and Save your project
    * Enable IAP and follow the prompts. It will take you through the import wizard.
    * If it asks you to Update the Unity API, you must say "Yes, I have made a backup"
    * Done

    For your existing project, you'll likely need to start with a backup prior to attempting to add IAP. Also, you can compare to the the Sample IAP Project here

    https://forum.unity.com/threads/sample-iap-project.529555/

    https://docs.unity3d.com/Manual/UnityIAPGoogleConfiguration.html
     
    Last edited: Sep 23, 2020
    dragomir77 likes this.
Thread Status:
Not open for further replies.