Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Cannot Install Packages

Discussion in 'Package Manager' started by AceEX7, Dec 31, 2018.

  1. AceEX7

    AceEX7

    Joined:
    Feb 2, 2014
    Posts:
    11
    I've been trying to install a package (Mobile Notifications) now and I get the following error

    Library\PackageCache\com.unity.mobile.notifications@1.0.0-preview.8\Editor\UnityNotificationsEditorManagerEditor.cs(55,41): error CS0117: 'AssetSettingsProvider' does not contain a definition for 'CreateProviderFromObject'

    i'm working on a Windows 10 64bit Unity Version 2013.3.0b5,
    any ideas on how to solve this issue?
     
    Last edited: Dec 31, 2018
  2. pedro_unity

    pedro_unity

    Joined:
    Jan 16, 2017
    Posts:
    172
    Hi @AceEX7,

    Seems like a bug and it should definitely not happen. I just installed preview.8 and it seems to contain errors, but preview.7 worked fine for me. Would you kindly try that one and let me know?

    Cheers,
    Pedro
    Unity STE
     
  3. AceEX7

    AceEX7

    Joined:
    Feb 2, 2014
    Posts:
    11
    Thank you for the response @pedro_unity
    Though I still encounter an error even on the preview.7

    Library\PackageCache\com.unity.mobile.notifications@1.0.0-preview.7\Editor\UnityNotificationsEditorManagerEditor.cs(53,41): error CS0117: 'AssetSettingsProvider' does not contain a definition for 'CreateProviderFromObject'
     
  4. pedro_unity

    pedro_unity

    Joined:
    Jan 16, 2017
    Posts:
    172
    Hello @AceEX7,

    This is really strange. It is possible that b5, which is a beta version, is incompatible with that specific version of the Mobile notifications package. Let me circle back with the team responsible for that package and I'll get back to you.

    Cheers,
    Pedro
    Unity STE
     
  5. _Paulius

    _Paulius

    Mobile Developer Unity Technologies

    Joined:
    Jul 8, 2014
    Posts:
    173
    @AceEX7 the package doesn't work because of an AssetSettingsProvider API change. The package was updated to use the new method but it is not yet available in b5. You should update to the latest 2018.3 build (I believe it's currently f2) it should work fine with preview.8.
     
    pedro_unity likes this.
  6. AceEX7

    AceEX7

    Joined:
    Feb 2, 2014
    Posts:
    11
  7. pedro_unity

    pedro_unity

    Joined:
    Jan 16, 2017
    Posts:
    172
    Great to hear!
    Cheers,
    Pedro
    Unity STE