Search Unity

  1. Unity 2018.3 is now released.
    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've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Cannot Install Packages

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

  1. AceEX7

    AceEX7

    Joined:
    Feb 2, 2014
    Posts:
    7
    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

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    146
    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:
    7
    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

    Unity Technologies

    Joined:
    Jan 16, 2017
    Posts:
    146
    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. PauliusP

    PauliusP

    Mobile Developer Unity Technologies

    Joined:
    Jul 8, 2014
    Posts:
    123
    @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:
    7
  7. pedro_unity

    pedro_unity

    Unity Technologies

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