无法在远程linux机器

时间:2016-07-26 18:57:07

标签: c# android linux unity3d remote-server

构建远程计算机时出现异常问题。

目标是Android,我尝试在远程服务器上构建应用程序(Debian 3.16.7-ckt20-1 + deb8u4,unity:unity-editor-5.3.5f1 + 20160525_amd64.deb)。

而我所看到的:

 /opt/Unity/Editor/./Unity
-batchmode
-projectPath
/home/jenkins/sources/client
-executeMethod
Assets.Scripts.Other.Git.BuildTools.BuildProject
-buildLocation
/home/jenkins/builds
-buildTarget
Android
-contour
Developer
-builderName
Jenkins
-quit
-logFile
/home/jenkins/log/01.log
Successfully changed project path to: /home/jenkins/sources/client
/home/jenkins/sources/client
UpdateMenuTitleForLanguage: 10
Using libudev for joystick management


Importing game controller configs
Loading GUID <-> Path mappings...0.000212 seconds
Loading Asset Database...0.000523 seconds
FMOD failed to get number of drivers ... An error occured that wasn't supposed to.  Contact support. 

(Filename: /home/builduser/buildslave/unity/build/Runtime/Audio/AudioManager.cpp Line: 533)

Audio: FMOD Profiler initialized on port 54900
AudioManager: Using Unknown: NoSound Driver
AssetDatabase consistency checks...0.048590 seconds
Build target platform 'Android' could not be used.

(Filename: /home/builduser/buildslave/unity/build/Editor/Src/Application.cpp Line: 673)


Aborting batchmode due to failure:
Fatal error! Build target platform 'Android' could not be used.

看起来好像声卡没有安装在远程机器上,但在那里找到了。像视频卡一样。 谷歌建议安装pulseaudio ......

下面的结果日志:

mono profile = '/opt/Unity/Editor/Data/Mono/lib/mono/2.0'
Initialize mono
Mono path[0] = '/opt/Unity/Editor/Data/Managed'
Mono path[1] = '/opt/Unity/Editor/Data/Mono/lib/mono/2.0'
Mono path[2] = '/opt/Unity/Editor/Data/UnityScript'
Mono path[3] = '/opt/Unity/Editor/Data/Mono/lib/mono/2.0'
Mono config path = '/opt/Unity/Editor/Data/Mono/etc'
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,defer=y,address=0.0.0.0:56679
Forcing GfxDevice: Null
NullGfxDevice:
   Version:  NULL 1.0 [1.0]
   Renderer: Null Device
   Vendor:   Unity Technologies

BATCHMODE ARGUMENTS:
/opt/Unity/Editor/./Unity
-batchmode
-nographics
-projectPath
/root/sources/client
-executeMethod
Assets.Scripts.Other.Git.BuildTools.BuildProject
-buildLocation
/root/builds
-buildTarget
Android
-contour
Developer
-builderName
Jenkins
-quit
-logFile
/root/builds/log_17.txt
Successfully changed project path to: /root/sources/client
/root/sources/client
UpdateMenuTitleForLanguage: 10
Using libudev for joystick management


Importing game controller configs
Loading GUID <-> Path mappings...0.000424 seconds
Loading Asset Database...0.074730 seconds
Audio: FMOD Profiler initialized on port 54900
AudioManager: Using ALSA: default
AssetDatabase consistency checks...3.354307 seconds
Build target platform 'Android' could not be used.

(Filename: /home/builduser/buildslave/unity/build/Editor/Src/Application.cpp Line: 673)


Aborting batchmode due to failure:
Fatal error! Build target platform 'Android' could not be used.

我想我已经尝试了一切,但结果仍然是一样的。

在具有类似配置的本地计算机上,一切正常。

遇到过类似问题的其他人,如果遇到了,你是怎么解决的?

0 个答案:

没有答案