Search Issue Tracker

By Design

Votes

0

Found in [Package]

1.0.0 - preview.24

Issue ID

1139166

Regression

No

"Not allowed to override geometry on sprite" when using Vector Graphics API on WaitForEndOfFrame and Awake

Package: Vector Graphics

-

How to reproduce:
1. Open the user's project
2. Open Scenes > SampleScene
3. Press Play

Expected result: No errors in the Console
Actual result: Not allowed to override geometry on sprite '' UnityEngine.Sprite:OverrideGeometry(Vector2[], UInt16[])

Reproducible with - 2019.1.0f1, 2018.3.12f1
Could not test with - 2019.2.0a11 ('SpriteEditorWindow' does not exist in the current context), 2017.4.25f1 (no vector graphics)

Package versions: 1.0.0 - preview.24

  1. Resolution Note:

    OverrideGeometry is not allowed to be called outside of the player loop, and the sprites won't allow to override their geometries in this situation.

Comments (2)

  1. Claytonious

    Dec 02, 2021 15:08

    OK this is marked as "By Design" but with no information about how we are supposed to build sprites and not get this error.

  2. nsxdavid

    Jul 07, 2019 15:54

    So what do you do?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.