Help with Nvidia hw transcoding on Unraid

Hello everyone, I need some help I am newer to Linux and Unraid but I am trying to get HW transcoding working. I have the Nvidia driver installed in Unraid and configured the container with the runtime and enviroment variable. The GPU shows up under transcoding setttings in plex, but if I try and use it the video crashes, I have attached my log. Hopefully someone can see something.
Plex Media Server.log (396.5 KB)
Plex Transcoder Statistics.1.log (3.6 KB)
Plex Transcoder Statistics.log (6.1 KB)
Plex Tuner Service.log (1.8 KB)
Plex Crash Uploader.log (558 Bytes)

The crash reports appear to be empty as well.

SOLVED! I deleted the codec folder and restarted and it worked!