Skip to content

feat: Unity launch now opens projects with compiler errors by default - #1449

Merged
hatayama merged 1 commit into
v3-betafrom
feature/hatayama/launch-ignore-compiler-errors-default
Jul 1, 2026
Merged

feat: Unity launch now opens projects with compiler errors by default#1449
hatayama merged 1 commit into
v3-betafrom
feature/hatayama/launch-ignore-compiler-errors-default

Conversation

@hatayama

@hatayama hatayama commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Unity launch and restart now open projects with compiler errors ignored by default.
  • The explicit compiler-error ignore option was removed from help, completion, and launch guidance.

User Impact

  • Users no longer need an extra flag to open or restart a Unity project that currently has compiler errors.
  • Bundled launch guidance now notes that this default behavior requires dispatcher 3.0.1-beta.8 or newer.

Changes

  • Always pass Unity -ignorecompilererrors when starting a new Unity process.
  • Remove -i and --ignore-compiler-errors from the launch CLI surface.
  • Bump dispatcher release metadata because launch dispatcher inputs changed.

Verification

  • go test ./internal/cli ./internal/automation
  • scripts/check-go-cli.sh
  • autoreview --mode branch --base origin/v3-beta accepted the dispatcher-gated docs finding; the no-op compatibility suggestion was intentionally rejected for this breaking-change scope.

Review in cubic

Always pass Unity's compiler-error ignore startup flag for launch and restart flows so projects with compile errors still open. Remove the now-redundant launch option from parsing, help, completion, and the launch skill docs.
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c993967c-bbe3-4b35-a98d-a4eb6b67b64b

📥 Commits

Reviewing files that changed from the base of the PR and between 6eaeb22 and e584023.

📒 Files selected for processing (9)
  • Packages/src/Editor/CliOnlyTools~/Launch/Skill/SKILL.md
  • cli/dispatcher-contract.json
  • cli/internal/cli/completion_options.go
  • cli/internal/cli/completion_test.go
  • cli/internal/cli/dispatcher_test.go
  • cli/internal/cli/help_test.go
  • cli/internal/cli/launch.go
  • cli/internal/cli/launch_options.go
  • cli/internal/cli/launch_test.go
💤 Files with no reviewable changes (2)
  • cli/internal/cli/completion_options.go
  • cli/internal/cli/launch_options.go

📝 Walkthrough

Walkthrough

The -i/--ignore-compiler-errors launch flag is removed from CLI option parsing, completion, and help output; Unity's -ignorecompilererrors argument is now always appended by default. The dispatcher version is bumped to 3.0.1-beta.8. Documentation and tests are updated accordingly.

Changes

Default ignore-compiler-errors behavior

Layer / File(s) Summary
Launch option struct and parsing
cli/internal/cli/launch.go, cli/internal/cli/launch_options.go
Removes ignoreCompilerErrors field from launchOptions, removes its parsing case, and makes buildUnityLaunchArgs unconditionally append -ignorecompilererrors.
Help and completion output
cli/internal/cli/launch.go, cli/internal/cli/completion_options.go
Updates printLaunchHelp and native completion options list to drop -i/--ignore-compiler-errors and describe new default behavior.
Dispatcher version bump
cli/dispatcher-contract.json
Bumps dispatcherVersion from 3.0.1-beta.7 to 3.0.1-beta.8.
Documentation updates
Packages/src/Editor/CliOnlyTools~/Launch/Skill/SKILL.md
Removes -i flag documentation and example, and adds a note on default compiler-error ignoring behavior with an update instruction.
Test updates
cli/internal/cli/launch_test.go, cli/internal/cli/completion_test.go, cli/internal/cli/help_test.go, cli/internal/cli/dispatcher_test.go
Updates and adds tests verifying rejection of removed flags, default -ignorecompilererrors inclusion, and absence of the old flag from completion/help output.

Estimated code review effort: 2 (Simple) | ~15 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly summarizes the main change: Unity launches now ignore compiler errors by default.
Description check ✅ Passed The description is directly related to the changeset and accurately outlines the behavior, docs, and metadata updates.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/hatayama/launch-ignore-compiler-errors-default

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 9 files

Re-trigger cubic

@hatayama
hatayama merged commit 990b046 into v3-beta Jul 1, 2026
10 checks passed
@hatayama
hatayama deleted the feature/hatayama/launch-ignore-compiler-errors-default branch July 1, 2026 11:31
@github-actions github-actions Bot mentioned this pull request Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant