Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Connecting Python in Unity 2020.3 for the microsoft Hololens

Discussion in 'General Discussion' started by cruzdg, Apr 19, 2023.

  1. cruzdg


    Nov 13, 2022
    Hello everyone,

    I am currently trying to connect any package to Unity in order to allow for easier NLP and Network Analysis, but I am currently running into issue after issue. I have tried IronPython, the unity thread, and a couple other external packages, but kept getting a wide variety of errors, the most common being the package was invalid or not compatible. I have tried following the .NET versions to make sure those align, but run into issues with that. Any advice would be helpful.

  2. ippdev


    Feb 7, 2010
    Python can be run sometimes using interop and command line from Unity. Depending on how it is set up it may take some time to process any NLP STT or TTS. Tired of the whole python research toys I decided to build my own NLP inference engine in Unity C#.
  3. neginfinity


    Jan 27, 2013
    You normally talk to python apps interop. Setting it up is a royal pain, because most python packages depend on pip and really want to pull data from the web. And pulled data is not exactly portable, meaning you'll have hard time moving it between different computers - it might fail to work or might work differently. Some people use docker to mitigate the problem a bit. But you'll still be talking to python apps through interop.