I’m reusing a script in another part of my game, but it throws a nullreference exception because one line of code isn’t really applicable. Is there a way to let Unity ignore this exception, instead of terminating the script? I don’t need it to run the line that errors out in my new purpose, but I need it for the original purpose.
Thanks!