Search Issue Tracker
Fixed in 2.1.0 preview.1
Votes
2
Found in [Package]
2.0.0 preview.1
Issue ID
1114275
Regression
Yes
[2d] Multiple errors thrown on installing 2d animation from package manager
Multiple errors thrown on installing 2d animation from package manager. Refer the screenshot attached
Steps to reproduce:
1) Create a new project
2) Window > Package Manager
3) Install 2d animation.
Expected result: No error in console.
Actual result: Multiple errors thrown in the console.
Reproducible in: 2019.1.0a15 , 2019.1.0a13, 2019.1.0a11
Working fine in: 2019.1.0a10, 2018.3.0f2
Environment: Windows and Mac
Stack trace:
1)Library\PackageCache\com.unity.2d.animation@2.0.0-preview.1\Runtime\SpriteSkinUtility.cs(40,24): error CS1061: 'Sprite' does not contain a definition for 'GetBoneWeights' and no accessible extension method 'GetBoneWeights' accepting a first argument of type 'Sprite' could be found (are you missing a using directive or an assembly reference?)
2)Library\PackageCache\com.unity.2d.animation@2.0.0-preview.1\Runtime\SpriteSkin.cs(180,47): error CS1061: 'Sprite' does not contain a definition for 'GetBoneWeights' and no accessible extension method 'GetBoneWeights' accepting a first argument of type 'Sprite' could be found (are you missing a using directive or an assembly reference?)
3) Library\PackageCache\com.unity.2d.animation@2.0.0-preview.1\Runtime\SpriteSkin.cs(181,49): error CS1061: 'SpriteRenderer' does not contain a definition for 'GetDeformableVertices' and no accessible extension method 'GetDeformableVertices' accepting a first argument of type 'SpriteRenderer' could be found (are you missing a using directive or an assembly reference?)
4) Library\PackageCache\com.unity.2d.animation@2.0.0-preview.1\Runtime\SpriteSkin.cs(189,28): error CS1061: 'SpriteRenderer' does not contain a definition for 'UpdateDeformableBuffer' and no accessible extension method 'UpdateDeformableBuffer' accepting a first argument of type 'SpriteRenderer' could be found (are you missing a using directive or an assembly reference?)
5) Library\PackageCache\com.unity.2d.animation@2.0.0-preview.1\Runtime\SpriteSkinUtility.cs(214,38): error CS1061: 'Sprite' does not contain a definition for 'GetBoneWeights' and no accessible extension method 'GetBoneWeights' accepting a first argument of type 'Sprite' could be found (are you missing a using directive or an assembly reference?)
6) Library\PackageCache\com.unity.2d.common@1.0.11-preview.1\Editor\InternalBridge\InternalEditorBridge.cs(108,43): error CS0507: 'InternalEditorBridge.WrappedShortcutAttribute.CreateShortcutEntry(MethodInfo)': cannot change access modifiers when overriding 'internal' inherited member 'ShortcutAttribute.CreateShortcutEntry(MethodInfo)'
7) Library\PackageCache\com.unity.2d.common@1.0.11-preview.1\Editor\InternalBridge\InternalEditorBridge.cs(148,20): error CS0246: The type or namespace name 'ShortcutState' could not be found (are you missing a using directive or an assembly reference?)
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
JackGrayBrain
Mar 13, 2020 21:49
I get this for Sprite methods:GetVertexAttribute, SetVertexAttribute, and HasVertexAttribute, when loading a 2018 LTS project into 2019.3.2f1