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

i want a help to fix error com.unity.package-manager-ui@1.9.11

Discussion in 'Package Manager' started by TheGhost0, Feb 5, 2020.

  1. TheGhost0

    TheGhost0

    Joined:
    Sep 11, 2017
    Posts:
    29
    i get some error
    i use 2019.3.0f6

    Code (CSharp):
    1. Library\PackageCache\com.unity.package-manager-ui@1.9.11\Editor\AssemblyInfo.cs(7,12): error CS0246: The type or namespace name 'UxmlNamespacePrefixAttribute' could not be found (are you missing a using directive or an assembly reference?)
    2.  
    3. Library\PackageCache\com.unity.package-manager-ui@1.9.11\Editor\AssemblyInfo.cs(7,12): error CS0246: The type or namespace name 'UxmlNamespacePrefix' could not be found (are you missing a using directive or an assembly reference?)
    Code (CSharp):
    1. using System.Runtime.CompilerServices;
    2. using UnityEditor.Experimental.UIElements;
    3.  
    4. [assembly: InternalsVisibleTo("Unity.PackageManagerCaptain.Editor")]
    5. [assembly: InternalsVisibleTo("Unity.PackageManagerUI.EditorTests")]
    6. #if UNITY_2018_3_OR_NEWER
    7. [assembly: UxmlNamespacePrefix("UnityEditor.PackageManager.UI", "upm")]
    8. #endif
    9.  
     
  2. TheGhost0

    TheGhost0

    Joined:
    Sep 11, 2017
    Posts:
    29
    when i remove package manager UI i get this error

    Code (CSharp):
    1. Assets\Horror FPS KIT\HFPS Assets\Content\Scripts\Main\UI\Menu\UICustomOptions.cs(208,67): error CS0619: 'QualitySettings.blendWeights' is obsolete: 'blendWeights is obsolete. Use skinWeights instead (UnityUpgradable) -> skinWeights'
    2.  
    3.  
    4. Assets\Horror FPS KIT\HFPS Assets\Content\Scripts\Main\UI\Menu\UICustomOptions.cs(334,13): error CS0619: 'QualitySettings.blendWeights' is obsolete: 'blendWeights is obsolete. Use skinWeights instead (UnityUpgradable) -> skinWeights'
    5.  
    6.  
    7. Assets\Horror FPS KIT\HFPS Assets\Content\Scripts\Main\UI\Menu\UICustomOptions.cs(334,45): error CS0619: 'BlendWeights' is obsolete: 'BlendWeights is obsolete. Use SkinWeights instead (UnityUpgradable) -> SkinWeights'
    8.  
    [edit: don't post code from assets]
     
    Last edited by a moderator: Feb 5, 2020
  3. ethan_jl_unity

    ethan_jl_unity

    Unity Technologies

    Joined:
    Sep 27, 2018
    Posts:
    104
    Hi there,

    Package Manager UI is no longer a package in 2019.3 (it is now part of the Unity Editor), please remove the package from your project and all error related to `com.unity.package-manager-ui@1.9.11` should go away.

    Best,
    Ethan
     
    KUGD, GodlikeAurora, fifsus and 3 others like this.
  4. mike_unity261

    mike_unity261

    Joined:
    Nov 14, 2020
    Posts:
    2
    I also got the op's error with identical code. Updating the versions in package manager solved it. upload_2020-11-23_14-1-7.png
     
  5. Waroffice

    Waroffice

    Joined:
    Nov 11, 2020
    Posts:
    1
  6. codexlayerdisposable

    codexlayerdisposable

    Joined:
    Mar 16, 2021
    Posts:
    1