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
- "Rendering Debugger" displays incorrect overdraw count when using "Unlit/Texture" shader
- Scene and Game views break when the Editor window is snapped with the Microsoft PowerToys
- Materials do not transfer texture when the "Shader" parameter is changed from "Unlit/Texture" to "Universal Render Pipeline/Unlit"
- [Linux][Vulkan] Crash when opening searchable dialog
- The "Shader error in 'AE/Leaves': "Undefined punctual shadow filter algorithm"" error appears when build completes on a specific project
Add comment