Search Issue Tracker
Fixed
Fixed in 1.0.2
Votes
0
Found in [Package]
1.0.0
Issue ID
PROFB-318
Regression
No
Project Auditor - Some UnityEngine methods are reported as Major issue even when the non allocating version of this method is already in use
Taken from the Thread: https://discussions.unity.com/t/introducing-unity-project-auditor-a-tool-to-help-you-optimize-your-unity-projects/1597047/76
Some UnityEngine methods are reported as Major issue even when the non allocating version of this method is already in use (such as GetComponentsInChildren or CalculateFrustumPlanes)
Steps to reproduce:
\\
Actual results:
Expected results:
\\
Reproducible with versions:
Not reproducible with versions:
Can’t test with versions:
\\
Tested on (OS):
\\
Notes:
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Resolution Note (fix version 1.0.2):
Project Auditor warns about users calling functions which may allocate when you could call a non-allocating version (e.g. GetComponentsInChildren, where you can pass a List in or be returned an array).
In the case where multiple versions with the same name exists, Project Auditor warned anyhow and left it to the user to determine what should be done. With this change we can check to see if the function returns void, and if it does, automatically ignore this call because the List is being passed in.