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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
We won't be fixing this since this for now.