Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2020.3.1f1
2021.1
2021.2
Issue ID
1332369
Regression
Yes
SpriteMask use GPU inefficiently in Play Mode
Reproduction steps:
1. Open attached project "New Unity Project (2)"
2. Open Scene 'BenchmarkSpriteMask'
3. Play Scene
4. Observe GPU usage in Task Manager or other software
Expected result: Relatively low GPU usage
Actual result: High GPU usage
Reproducible with: 2019.4.24f1, 2020.3.4f1, 2021.1.4f1, 2021.2.0a15
Not reproducible with: 2018.4.33f1
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
- Visual Element expands beyond the parent element when width is set to auto
- Visual Element fails to encapsulate all children when using "flex-direction: row"
- Visual Element fails to encapsulate its children when a child element has "flex-grow" set to 1
- Visual Element with "flex-shrink: 1" does not shrink when parent container width is reduced
- “NullReferenceException” errors thrown after reimporting VFX package Learning Templates Sample
Resolution Note:
The example project doesn't provide a good case of using sprite masks. Sprite masks are tightly integrated with unity's legacy systems. Refactoring the code to be optimized isn't trivial and would require a large amount of engineering effort. Unfortunately since this is one-off case, we don't think it is worth allocating the resources to fix.