Search Issue Tracker
In Progress
Under Consideration for 6000.0.X, 6000.1.X, 6000.3.X
Fix In Review for 6000.2.X
Votes
1
Found in
6000.0.47f1
6000.1.1f1
6000.2.0a9
6000.3.0a1
Issue ID
UUM-104210
Regression
No
SpriteShapeController.OnWillRenderObject() is ~20 ms when using SpriteShapeController.BakeMesh() and never updating the spline
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Open the Window > Analysis > Profiler
5. Click "CPU Usage" row
6. In Profiler’s Hierarchy, search for “SpriteShapeController.OnWillRenderObject() [Invoke]”
7. Observe Time ms
Expected result: Time ms is less than 20ms
Actual result: Time ms is ~20ms
Reproducible with: 2022.3.61f1, 6000.0.47f1, 6000.1.1f1, 6000.2.0a9
Reproducible on:
Play Mode
Windows Standalone Player (Time ms is ~7 ms)
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- Spline is never updated
- Forum thread: [https://discussions.unity.com/t/how-to-optimize-spriteshapes/1635877]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Assigned font's bold/font-weight styles render using Default Font's assets when Default Font has corresponding style assets defined in TMP Settings
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
Add comment