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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Resolution Note:
We won't be fixing this since this for now.