Coder Social home page Coder Social logo

Comments (4)

JamJar00 avatar JamJar00 commented on August 17, 2024

Hey, sorry for the late reply here!

What version of Unity are you running? Can you try running this with IL2CPP?

The Mono Unity ships with is absolutely awful and has broken and half implemented all around Sockets/TLS so I'm not all that surprised to be honest. I thought I'd tested with Unity based servers but I might be imagining it.

The library this uses says it should support Mono so it's looking like it's probably a Unity Mono issue:

Both .NET 4.5+ and .NET Core 1.0+ are fully supported. Mono is supported on a best-effort basis. It should compile and run happily on Mono but this is not as heavily tested as Microsoft .NET stacks. If you have any issues using the Nuget package or compiling this code with .NET, .NET Core, or Mono, please file a Github issue with details of the problem.

from consul-server-registry-connector.

jvisenti avatar jvisenti commented on August 17, 2024

Unity 2020.2.1f1, API compatibility level .NET 4.x. I'm not sure whether an IL2CPP build would work, but the editor always uses Mono for play mode. I wouldn't be surprised if the problem were specific to Unity Mono 😞

from consul-server-registry-connector.

JamJar00 avatar JamJar00 commented on August 17, 2024

Ugh. I'll try and get a work around sussed out at some point, it might be possible to disable TLS (not great, but not terrible if you're in a VPC etc.) or masybe even submit a PR to the library to fix their Unity Mono compatibility.

Sorry about this!

from consul-server-registry-connector.

jvisenti avatar jvisenti commented on August 17, 2024

Thanks for the response! I'll check back if anything changes. In the meantime I'll work on a server registry connector that doesn't use Consul.

from consul-server-registry-connector.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.