Method ~CustomPass ~CustomPass() Cleans up the custom pass when Unity destroys it unexpectedly. Currently, this happens every time you edit the UI because of a bug with the SerializeReference attribute. Declaration protected ~CustomPass()