# CLI run of FMod Studio not loading project while mac is locked

**URL:** <https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890>\
**Category:** FMOD Studio\
**Tags:** mac\
**Created:** [May 6, 2025, 10:47am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890 "2025-05-06T10:47:10Z")\
**Posts on this page:** 12\
**Page:** 2

<div class="post-metadata">

**Author:** ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)\
**Post date:** [June 5, 2026, 1:27am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/21 "2026-06-05T01:27:05Z")

</div>

Apologies for the delay, been working through quite a backlog. I’ve got a patched version of 2.03.14 for you to test if you’re willing and able? Look in [the Uploads section](https://fmod.com/profile#uploads) on your Profile page. It’s working fine for us when called from Jenkins but I’d like to confirm it works for you too. Thanks 🙏

---

<div class="post-metadata">

**Author:** ![lordmortis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/lordmortis/32/4632_2.png) [@lordmortis](https://qa.fmod.com/u/lordmortis)\
**Post date:** [June 5, 2026, 2:25am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/22 "2026-06-05T02:25:17Z")

</div>

Should we be using `fmodstudiocl` or `fmodstudio` to test this?

---

<div class="post-metadata">

**Author:** ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)\
**Post date:** [June 5, 2026, 2:32am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/23 "2026-06-05T02:32:02Z")

</div>

fmodstudiocl please.

---

<div class="post-metadata">

**Author:** ![lordmortis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/lordmortis/32/4632_2.png) [@lordmortis](https://qa.fmod.com/u/lordmortis)\
**Post date:** [June 5, 2026, 4:04am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/24 "2026-06-05T04:04:31Z")

</div>

This has not fixed the problem. If the machine is locked, it has to wait until unlock to complete.  
`[2026-06-05T04:00:10.241Z] + ‘/Applications/FMOD Studio.app/Contents/MacOS/fmodstudiocl’ -build ‘FMod/Self Care Vampire.fspro’`  
`[2026-06-05T04:02:37.432Z]`  
`[2026-06-05T04:02:37.432Z] Loading project “FMod/Self Care Vampire.fspro”…`  
`[2026-06-05T04:02:37.432Z] [Scripting] ScriptServer is disabled.`  
`[2026-06-05T04:02:37.432Z] Successfully opened project.`  
`[2026-06-05T04:02:37.432Z] Building project “FMod/Self Care Vampire.fspro”…`  
`[2026-06-05T04:02:37.432Z] Build Status: Gathering file stats…`  
`[2026-06-05T04:02:37.432Z] Build Status: Preparing to build for Desktop…`  
`[2026-06-05T04:02:37.432Z] Build Status: Checking dependencies for “Master”…`  
`[2026-06-05T04:02:37.432Z] Build Status: Loading “Master” objects…`  
`[2026-06-05T04:02:37.432Z] Build Status: Building “Master” for Desktop…`  
`[2026-06-05T04:02:37.432Z] Build Status: Preparing to build for Mobile…`  
`[2026-06-05T04:02:37.432Z] Build Status: Checking dependencies for “Master”…`  
`[2026-06-05T04:02:37.432Z] Build Status: Loading “Master” objects…`  
`[2026-06-05T04:02:37.432Z] Build Status: Building “Master” for Mobile…`  
`[2026-06-05T04:02:37.432Z] Build completed successfully.`  
Note the 2 minute delay here before any log output - at which point i remoted into the machine to see if unlocking the display would start it building and it did.

---

<div class="post-metadata">

**Author:** ![lordmortis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/lordmortis/32/4632_2.png) [@lordmortis](https://qa.fmod.com/u/lordmortis)\
**Post date:** [June 5, 2026, 4:10am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/25 "2026-06-05T04:10:49Z")

</div>

In addition, if i just ssh into the mac and run

`'/Applications/FMOD Studio.app/Contents/MacOS/fmodstudiocl' -build 'FMod/Self Care Vampire.fspro'`

On the command line in the jenkins workspace directory, nothing happens until i unlock the mac via a remote desktop session _and_ click on the FMOD studio icon in the dock. I have verified i’m running 2.03.14 via the remote desktop app

---

<div class="post-metadata">

**Author:** ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)\
**Post date:** [June 5, 2026, 4:47am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/26 "2026-06-05T04:47:51Z")

</div>

Interesting. I can ssh into my (locked) Mac, run a very similar command and it runs just fine. Might be a system setting? I’ll have a dig and see what I can find.

---

<div class="post-metadata">

**Author:** ![lordmortis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/lordmortis/32/4632_2.png) [@lordmortis](https://qa.fmod.com/u/lordmortis)\
**Post date:** [June 5, 2026, 5:05am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/27 "2026-06-05T05:05:58Z")

</div>

What version of macOS are you running?

---

<div class="post-metadata">

**Author:** ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)\
**Post date:** [June 5, 2026, 5:23am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/28 "2026-06-05T05:23:57Z")

</div>

Sonoma 14.7.8 but I don’t think it’s the macOS version that’s the problem. In System Settings \> Screen Saver \> Lock Screen Settings, I have both “Start Screen Saver when inactive” and “Turn display off when inactive” set to Never. So, I guess my Mac was never really locked when I sshed into it. Is it possible for you to set both of those settings to Never?

---

<div class="post-metadata">

**Author:** ![lordmortis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/lordmortis/32/4632_2.png) [@lordmortis](https://qa.fmod.com/u/lordmortis)\
**Post date:** [June 5, 2026, 6:58am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/29 "2026-06-05T06:58:48Z")

</div>

The issue with this is if the build machine is anywhere unsecured - this is a security risk. It also means that if you happen to use a laptop as a build machine, you’re burning the screen at all times.

When you lock the mac, does FMOD’s cli work? (I’d also note: Unity builds fine in this mode, as does Unreal. In fact, unreal can build without the user even logged in interactively)

I’d also note the OP says:

> if the machine is locked (which it normally is while running jenkins) the project doesn’t complete loading.

---

<div class="post-metadata">

**Author:** ![lordmortis](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/lordmortis/32/4632_2.png) [@lordmortis](https://qa.fmod.com/u/lordmortis)\
**Post date:** [June 5, 2026, 8:52am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/30 "2026-06-05T08:52:38Z")

</div>

I also suspect there’s another problem where if more than one instance of this is running at the same time, it will cancel the second one - we’ve just had an issue where a second simultaneous build on another platform didn’t get updated banks.  
We get the following error:  
`Application /Applications/FMOD Studio.app was already running and so the additional environment variables and redirected stdin/stdout/stderr provided could not be set.`

This can be replicated in the public version of 2.03.14 by running two instances of `fmodstudiocl` in two different FMOD project directories (they might need to be the same project copied, but i’m not sure). This does not happen in 2.03.14 when using `fmodstudio` (but of course it doesn’t fire up unless there is a logged in user active)

---

<div class="post-metadata">

**Author:** ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)\
**Post date:** [June 11, 2026, 6:38am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/31 "2026-06-11T06:38:07Z")

</div>

Apologies for the shemozzle. Currently looking into a different way of solving this.

---

<div class="post-metadata">

**Author:** ![Andrew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/andrew/32/261_2.png) [@Andrew](https://qa.fmod.com/u/Andrew)\
**Post date:** [September 14, 2026, 4:58am UTC](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890/32 "2026-09-14T04:58:44Z")

</div>

This has been fixed for 2.03.15. Apologies for the delay.

[Previous page](https://qa.fmod.com/t/cli-run-of-fmod-studio-not-loading-project-while-mac-is-locked/22890.md?page=1)
