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
- Crash when trying to force Shader to interpret 1/30 as a floating point operation
- Terrain is flickering when adjusting "Compatibility Mode" and "Use Rendering Layers" Settings
- Isometric tiles are flickering and overlapping each other when entering Play Mode with Tilemap Renderer mode set to "Chunk"
- Crash on ParticleSystemParticles::array_reserve when particle system starts
- Docking Text Property Preview Window next to UI Builder breaks the window and causes NullReferenceException
Resolution Note:
We won't be fixing this since this for now.