Hi
I want to build my project from the command line, But I have 2 problems.
- On my windows PC run build with command line and got these log:
command:
Unity.exe -quit -batchmode -nographics -logFile e:/stdout.log -projectPath "E:\Working_Projects\xTests\unity\livekit\LiveKit\LiveKit" -executeMethod sttz.Trimmer.Editor.BuildManager.Build -profileName Build_Profile_1
Log:
...
Unloading 113 Unused Serialized files (Serialized files now loaded: 0)
Unloading 158 unused Assets / (0.7 MB). Loaded Objects now: 3993.
Memory consumption went from 87.7 MB to 87.0 MB.
Total: 4.958900 ms (FindLiveObjects: 0.362500 ms CreateObjectMapping: 0.307800 ms MarkObjects: 3.922300 ms DeleteObjects: 0.365100 ms)
Building Build_Profile_1, selected from command line.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:Log (object)
sttz.Trimmer.Editor.BuildManager:Build (sttz.Trimmer.Editor.IBuildsCompleteListener) (at Library/PackageCache/ch.sttz.trimmer@5799f29bc7/Editor/BuildManager.cs:352)
sttz.Trimmer.Editor.BuildManager:Build () (at Library/PackageCache/ch.sttz.trimmer@5799f29bc7/Editor/BuildManager.cs:310)
(Filename: Library/PackageCache/ch.sttz.trimmer@5799f29bc7/Editor/BuildManager.cs Line: 352)
Batchmode quit successfully invoked - shutting down!
...
- On the Linux server pull the project from git and then:
command:
/home/Unity/2021.3.6f1/Editor/Unity -quit -batchmode -nographics -projectPath /home/gitlab-runner/builds/2vyUksym/0/landrocker-workflow/livekit-test -executeMethod sttz.Trimmer.Editor.BuildManager.Build -profileName Build_Profile_1
Log:
...
Application.AssetDatabase Initial Refresh End
Scanning for USB devices : 2.021ms
Initializing Unity extensions:
UpdateMenuTitleForLanguage: 10
[MODES] ModeService[none].Initialize
[MODES] ModeService[none].LoadModes
[MODES] Loading mode Default (0) for mode-current-id-livekit-test
Unloading 5120 Unused Serialized files (Serialized files now loaded: 0)
Unloading 5236 unused Assets / (0.5 MB). Loaded Objects now: 3996.
Memory consumption went from 207.8 MB to 207.3 MB.
Total: 10.478980 ms (FindLiveObjects: 0.918570 ms CreateObjectMapping: 0.590435 ms MarkObjects: 5.236009 ms DeleteObjects: 3.731601 ms)
Build profile named 'Build_Profile_1' cloud not be found.
UnityEngine.StackTraceUtility:ExtractStackTrace () (at /home/bokken/buildslave/unity/build/Runtime/Export/Scripting/StackTrace.cs:37)
UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
UnityEngine.Logger:Log (UnityEngine.LogType,object)
UnityEngine.Debug:LogError (object)
sttz.Trimmer.Editor.BuildManager:Build (sttz.Trimmer.Editor.IBuildsCompleteListener) (at Library/PackageCache/ch.sttz.trimmer@5799f29bc7/Editor/BuildManager.cs:347)
sttz.Trimmer.Editor.BuildManager:Build () (at Library/PackageCache/ch.sttz.trimmer@5799f29bc7/Editor/BuildManager.cs:310)
(Filename: Library/PackageCache/ch.sttz.trimmer@5799f29bc7/Editor/BuildManager.cs Line: 347)
Batchmode quit successfully invoked - shutting down!
Setting up 2 worker threads for Enlighten.
AcceleratorClientConnectionCallback - disconnected - :0
Cleanup mono
...
How can I fix these problems on those platforms?
Hi
I want to build my project from the command line, But I have 2 problems.
command:
Unity.exe -quit -batchmode -nographics -logFile e:/stdout.log -projectPath "E:\Working_Projects\xTests\unity\livekit\LiveKit\LiveKit" -executeMethod sttz.Trimmer.Editor.BuildManager.Build -profileName Build_Profile_1Log:
command:
/home/Unity/2021.3.6f1/Editor/Unity -quit -batchmode -nographics -projectPath /home/gitlab-runner/builds/2vyUksym/0/landrocker-workflow/livekit-test -executeMethod sttz.Trimmer.Editor.BuildManager.Build -profileName Build_Profile_1Log:
How can I fix these problems on those platforms?