Unity-Technologies / ProjectAuditor

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

Stack overflow when reports are saved #224

Open DunkUK opened 3 months ago

DunkUK commented 3 months ago

Describe the bug Analysis will always fail in our project due to stack overflow when it reaches the end and tries to save, no matter which settings I use. It will also instantly close the Unity editor.

To Reproduce Steps to reproduce the behavior:

  1. Have a reasonably sized project (in this case, the Vampire Survivors Unity project)
  2. Open Window/Analysis/Project Auditor
  3. Hit 'Start Analysis'
  4. See error

Expected behavior The report finishes without Unity crashing to desktop :)

Information:

Additional context I've attached the Editor-prev.log file of a run where this error occurred (I've deleted identifying information)

Editor-prev.log