Search Issue Tracker
By Design
Votes
0
Found in
5.1.3f1
Issue ID
722935
Regression
No
[Sprites] Spite.Create() takes more time if rect is 33x33 compared to 31x31
Reproduction steps:
1. Open attached project
2. Open "TestScene" scene
3. Open test.cs and uncomment "areaOfSliceInTextureToDraw = new Rect(0,0,33,33);"
4. Save test.cs
5. Play/Run "TestScene" scene (Notice how much time it took to process)
6. Open test.cs and uncomment "areaOfSliceInTextureToDraw = new Rect(0,0,31,31);"
7. Save test.cs
8. Play/Run "TestScene" scene (Notice how much time it took to process)
Note: For a 31x31 rec it will take 0 ms per Sprite to process and 0 ms for 25 Sprites. For 33x33/32x32 it will take 14.48 ms per Sprite to process and 362 ms for 25 Sprites. And for other rects under 31x31 it will take 0 ms.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
- Incorrect rotations on bones when importing FBX animations with a Humanoid Rig
- Render Graph Viewer “Pass List” section is flickering when resizing vertically and the Render Graph Viewer window is docked
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
Add comment