Unity-Technologies / ProjectAuditor

Project Auditor is an experimental static analysis tool for Unity Projects.
Other
806 stars 66 forks source link

Update ApiDatabase.json #80

Closed unitystevem closed 2 years ago

unitystevem commented 2 years ago

Added API Database issue to report that Object.name (and its inherited versions in GameObject, Transform, Component, etc.) allocates managed heap memory every time it's accessed.

mtrive commented 2 years ago

Thank you Steven. I fixed the descriptor definition in the json (see https://github.com/Unity-Technologies/ProjectAuditor/pull/80/commits/31a6202b2a55b97499fde7bcb2a575fc1321c311) and added test coverage.