Search Unity

Unable to preload the following plugins

Discussion in 'Linux' started by Xwilarg, Aug 11, 2017.

  1. Xwilarg

    Xwilarg

    Joined:
    Jul 13, 2016
    Posts:
    21
    Hi,

    I had to make a program having a server and some clients, so I took a VPS at OVH and I now have it.
    It's on Ubuntu 16.04 and I'm using SSH to connect to it.
    I tried to make a Linux build and to launch it, but I get the following error:

    (I found the following post http://answers.unity3d.com/questions/915009/unable-to-load-simplest-plugin-on-unity-5.html but moving the ScreenSelector.so file next to the executable didn't solve the problem...)

    Does someone please know how I could fix this ?

    Thanks in advance,
     
  2. Tak

    Tak

    Joined:
    Mar 8, 2010
    Posts:
    1,001
    The plugin loading message is just diagnostic - it's unrelated to the crash.

    The player log (~/.config/unity3d/CompanyName/ProductName/Player.log , or run with -logfile - ) should give more information about the crash.

    You say you're connecting via ssh - is this a headless player? (i.e. did you check "Headless" in the build options)
     
  3. Xwilarg

    Xwilarg

    Joined:
    Jul 13, 2016
    Posts:
    21
    Oh, I forgot the headless player thing, sorry...

    Well, it's solved now, thanks for your help.
     
  4. huanglsh6

    huanglsh6

    Joined:
    Jan 22, 2019
    Posts:
    1
    I have the same problem. Can you how you solve it?:(:(:(:(
     
  5. Xwilarg

    Xwilarg

    Joined:
    Jul 13, 2016
    Posts:
    21
    Hey,
    It's been a long time ago so I'm not really sure anymore.
    When you build for Linux there should be an option "Headless", you just have to check it.
     
  6. cidolfas2015

    cidolfas2015

    Joined:
    Sep 27, 2015
    Posts:
    87
    is "headless" the same as "server"?


    edit: for anyone trying to make their own headless server, clicking server does work. I got this error and was having the same problem. Must have been some type of corruption because I rebuilt it and now it works fine.
     
    Last edited: Apr 7, 2020
  7. andrews_unity

    andrews_unity

    Unity Technologies

    Joined:
    Dec 11, 2015
    Posts:
    264
    Server and headless are the same in the current version of Unity