Skip to content

editor run shows error on macOS due to Unity rejecting dot-prefixed directories in log path #10

Description

@Niaobu

On macOS, unityctl editor run prints this error:

.unityctl is not a valid directory name. Please make sure there are no unallowed characters in the name.

Unity on macOS validates the -logFile argument and rejects paths containing directories that start with a dot. The error is printed to stderr but Unity continues anyway (log file is still written).

Tested on: Unity 6000.0.63f1, macOS

Workarounds that work:

  • Logs/UnityCtl/editor.log
  • _unityctl/editor.log

Proposed fix: Store editor logs in Logs/UnityCtl/ instead of .unityctl/. Keep .unityctl/ for config files (bridge.json, config.json) since those aren't passed to Unity.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions