It's a race condition: you click to start the project, it takes about 20 second to start sclang and scsynth, at which point (and only then) the _main.scd file is read. If you are running this from an example (so it is in exampleTempProject), or have opened another project in the meantime (e.g.: to look up some SC examples), then it may end up loading the _main.scd of the currently open proejct (or fail if there is none).
Not sure what the best approach to fix this is. Probably nothing?
It's a race condition: you click to start the project, it takes about 20 second to start sclang and scsynth, at which point (and only then) the
_main.scd
file is read. If you are running this from an example (so it is inexampleTempProject
), or have opened another project in the meantime (e.g.: to look up some SC examples), then it may end up loading the_main.scd
of the currently open proejct (or fail if there is none). Not sure what the best approach to fix this is. Probably nothing?