Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Unity 2019.3.0f6 com.unity.vectorgraphics errors

Discussion in 'Editor & General Support' started by Shiv7n, Jan 28, 2020.

  1. Shiv7n

    Shiv7n

    Joined:
    Jan 11, 2019
    Posts:
    5
    Hello,

    After updating from 2019.3.0f5 (alpha) version the follow error stack is displaying - reimporting packages and recompiling does not solve anything.

    Code (CSharp):
    1. Packages\com.unity.vectorgraphics\Runtime\VectorSprite.cs(274,35): error CS1061: 'Sprite' does not contain a definition for 'GetVertexAttribute' and no accessible extension method 'GetVertexAttribute' accepting a first argument of type 'Sprite' could be found (are you missing a using directive or an assembly reference?)
     

    Attached Files:

  2. Jaze_

    Jaze_

    Joined:
    Oct 19, 2018
    Posts:
    9
    Hello,

    Have you found a solution? I encounter the same issue.
     
  3. Jaze_

    Jaze_

    Joined:
    Oct 19, 2018
    Posts:
    9
    I have finally found the solution, which is to upgrade vectorgraphics to 2.0.0-preview.12.
    Only tested with 2020.1.0b4 though, not 100% it's working for Unity 2019.
     
  4. BrainAndBrain

    BrainAndBrain

    Joined:
    Nov 27, 2014
    Posts:
    115
    Just got the same error. Looks like Unity 2019 is limited to Vector Graphics Preview 4…?
     
  5. BrainAndBrain

    BrainAndBrain

    Joined:
    Nov 27, 2014
    Posts:
    115