Aelstraz/Unity-uPnP-Port-Forwarding

I added this plugin but using Open.Nat is causing compile errors?

Closed this issue · 4 comments

I added this plugin but using Open.Nat is causing compile errors?
On unity 2021.3.8f1

image

Hey there, just from the top of my head- it looks like that library might have become outdated for newer Unity versions. I'll have a look and see if I can fix it quickly!

THANK YOU! you are a hero!

So I manage to figure it out since you mentioned it being outdated.

  • Open the Nuget Manager
  • Search Open.nat
  • Downloaded it and replaced the previous .dll with the net45 one.
  • All error disappeared THANKS!

Glad to hear that you were able to solve the problem! And thanks for sharing the solution, I have updated the repo and latest release with the newer version of Open.NAT