You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I run the editor in batch mode, and set the user parameter, I end up with this error :
[Licensing::Module] Trying to connect to existing licensing client channel...
[Licensing::IpcConnector] Connection attempt to the License Client on channel: "LicenseClient-" failed because channel doesn't exist; code: "0x80000002"
[Licensing::Module] Successfully launched the LicensingClient (PId: 9)
[Licensing::IpcConnector] Connection attempt to the License Client on channel: "LicenseClient-" failed because channel doesn't exist; code: "0x80000002"
[Licensing::Module] Timed-out after 60.00s, waiting for channel: "LicenseClient-"
IPC channel to LicensingClient doesn't exist; aborting
This is the command that was started: docker run --user 10000:1004 --rm --volume "pathToUnityProject":/app --workdir /app unityci/editor:ubuntu-2020.3.48f1-android-3.0.1 /bin/bash -c "./AnotherScript.sh"
Here is the content of AnotherScript: /opt/unity/Editor/Unity -batchmode -nographics -quit -projectPath /app -logFile logAndroid.txt -noUpm -username 'username' -password 'password' -serial SERIAL -executeMethod AssetBundleCreator.BuildAsset
If I try to run the same command without specifying a user, Unity is started properly and the BuildAsset method is executed.
Unfortunately, having the possibility to run as another user would solve one of my issue. I'll explain it briefly, just to show my use case:
A program will write files, as the user 10000.
Unity will read this files and generate new ones. By default they are written with root as the owner.
The program will read this file after the process, but won't be able to modify or delete them because of the ownership.
There's of course other ways to fix my issue, but I'm surprised that I can not run the program as another user. I don't know if it is a bug with Unity, your docker image, or maybe a missunderstanding from my part.
The text was updated successfully, but these errors were encountered:
If I run the editor in batch mode, and set the
user
parameter, I end up with this error :This is the command that was started:
docker run --user 10000:1004 --rm --volume "pathToUnityProject":/app --workdir /app unityci/editor:ubuntu-2020.3.48f1-android-3.0.1 /bin/bash -c "./AnotherScript.sh"
Here is the content of AnotherScript:
/opt/unity/Editor/Unity -batchmode -nographics -quit -projectPath /app -logFile logAndroid.txt -noUpm -username 'username' -password 'password' -serial SERIAL -executeMethod AssetBundleCreator.BuildAsset
If I try to run the same command without specifying a user, Unity is started properly and the BuildAsset method is executed.
Unfortunately, having the possibility to run as another user would solve one of my issue. I'll explain it briefly, just to show my use case:
There's of course other ways to fix my issue, but I'm surprised that I can not run the program as another user. I don't know if it is a bug with Unity, your docker image, or maybe a missunderstanding from my part.
The text was updated successfully, but these errors were encountered: