C# The process was terminated due to an unhandled exception
I am experiencing an unhandled exception which, as per my understanding, occurs when a task is cancelled before it is completed. However, in my code, I am not cancelling any tasks. I have added try-catch blocks and multiple handlers, but I am still unable to find the issue. The crash happens randomly and there are no fixed steps leading up to it.