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

Input

-

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)

  1. Resolution Note:

    We won't be fixing this since this for now.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.