Search Issue Tracker
By Design
Votes
0
Found in
5.1.0f3
Issue ID
704392
Regression
No
GetComponent() allocates memory on each call
How to reproduce:
1. Open attached project
2. Open scene scene.unity
3. Open the Profiler window
4. Enable Deep Profiling
5. Play the scene
- Notice how BehaviourUpdate/TestCode.Update()/Component.GetComponent()/Component.GetComponentFastPath() allocates GC for each call, even though nothing changed in between calls
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- URP Cascaded Shadows do not have a falloff in Player when the Player is built not in Development Mode
- Grid in animation preview window is rendered on top of the object
- WebGPU Graphics.RenderPrimitives fails on MeshTopology.Quads with Validation errors when exceeding 64k vertices
- Task status is "WaitingForActivation" when awaiting a faulted task inside that task
- 0 is returned when any output from Split Node is input into the Lerp Node
Add comment