Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.3.4f1
Issue ID
780377
Regression
No
[GCAllocation] MethodInfo.Invoke without parameters allocates 40B per call
Steps to reproduce:
1. Open attached project
2. Open the "repro" scene
3. Press Play
4. Open the profiler window
5. Notice 40B in the memory section the 'GC allocation per frame'
6. Click the unique GameObject in the scene
7. In the inspector click the 'With Parameter' check box
8. Notice 0B in the memory section the 'GC allocation per frame'
Expected: GC allocation for MethodInfo.Invoke with and without parameters is the same
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AI Assistant upgrade banner's `Open package Manager` link doesn't work
- Sub-asset UI does not refresh when undoing Renderer Feature add or remove actions in a URP Renderer asset
- Scene flickers with a green tint when using Screen Space Ambient Occlusion and Contact Shadows with raytracing
- Scripts with null Components on GameObjects are not removed when calling GameObjectUtility.RemoveMonoBehavioursWithMissingScript
- Color Curve Key values remain visible after changing Curve type
Add comment