Unity-Technologies / ProjectAuditor

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

Fixed crash when parsing ShaderCompilerData in 2021.2.0a16 or newer #71

Closed mtrive closed 2 years ago

mtrive commented 2 years ago

As of 2021.2.0a16, ShaderCompilerData cannot longer be consumed after OnProcessShader is executed. With this fix, ShaderCompilerData is parsed immediately and relevant information is stored for later consumption.