Search Issue Tracker
Won't Fix
Votes
0
Found in
2021.2.10f1
2021.3
Issue ID
1411661
Regression
No
GC.Alloc occurs when using Input from Core RP Library
How to reproduce:
1. Open the user's attached project
2. Open scene PATH*/Start
3. Go to Window -> Analysis -> Profiler
4. Enable Deep Profile and record profiling information while in Play Mode
5. Enter Play Mode and press any key in the Game view, then exit Play Mode
6. Return to the Profiler window and select the CPU Usage module
7. In the Profiler Hierarchy, search for "Input.get_touches"
8. Select the Input.get_touches() call and press F
Expected result: GC.Alloc is not found under Input.get_touches()
Actual result: GC.Alloc is found under Input.get_touches()
Reproducible with: 2021.3.1f1
Could not test with: 2019.4.38f1, 2020.3.33f1 (Input.get_touches() not found), 2022.1.0b16, 2022.2.0a10 (user project script errors)
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
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
- Missing #pragma directives warnings appear in Inspector when including .hlsl file in Shader
- Fixed Timestep setting gets resets to default when upgrading project
Resolution Note:
We won't be fixing this since this for now.