Skip to content

When on autopilot, quit the game when initialization fails#7294

Open
AnsisMalins wants to merge 4 commits intodevfrom
feat/autopilot-quit-when-dead
Open

When on autopilot, quit the game when initialization fails#7294
AnsisMalins wants to merge 4 commits intodevfrom
feat/autopilot-quit-when-dead

Conversation

@AnsisMalins
Copy link
Collaborator

Pull Request Description

What does this PR change?

This change has the game quit when it is irrecoverably dead. Normally, in that case, the game just stays at the pyramid spinner forever.

Test Instructions

On Windows, the command line is
Decentraland.exe -logFile "%CD%\log.txt" --autopilot

On Windows, the aa folder is in
Decentraland_windows64\Decentraland_Data\StreamingAssets

On macOS, the command line is
open Decentraland.app --args -logFile "$PWD/log.txt" --autopilot

On macOS, the aa folder is in
build/Decentraland.app/Contents/Resources/Data/StreamingAsets

To get inside Decentraland.app, you right click and pick Show Package Contents.
image

Test Steps

  1. Unzip the build
  2. Delete the contents of the aa folder
  3. Run the game with the arguments listed above
  4. See that the game quits immediately
  5. See that the log file contains a message about the game being irrecoverably dead

Quality Checklist

  • Changes have been tested locally
  • Documentation has been updated (if required)
  • Performance impact has been considered
  • For SDK features: Test scene is included

Code Review Reference

Please review our Code Review Standards before submitting.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 28, 2026

badge

Windows and Mac build successful in Unity Cloud! You can find a link to the downloadable artifact below.

Name Link
Commit 2c15006
Logs https://github.com/decentraland/unity-explorer/actions/runs/22632938389
Download Windows https://github.com/decentraland/unity-explorer/suites/59209330915/artifacts/5745179000
Download Windows S3 https://explorer-artifacts.decentraland.org/@dcl/unity-explorer/branch/feat/autopilot-quit-when-dead/pr-19342-2c15006/Decentraland_windows64.zip
Download Mac https://github.com/decentraland/unity-explorer/suites/59209330915/artifacts/5745072171
Download Mac S3 https://explorer-artifacts.decentraland.org/@dcl/unity-explorer/branch/feat/autopilot-quit-when-dead/pr-19342-2c15006/Decentraland_macos.zip
Built on 2026-03-03T17:10:35Z

Artifact size check

Target Size (MB / MiB) Cap (MB) Δ MB vs release Δ % vs release Result
windows64 353.0 / 336.6 320 35 11.01% ❌ CAP EXCEEDED
macos 440.0 / 419.6 410 33 8.11% ❌ CAP EXCEEDED

Comparing against: v0.129.0-alpha

@AnsisMalins AnsisMalins added force-build Used to trigger a build on draft PR and removed force-build Used to trigger a build on draft PR labels Mar 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

force-build Used to trigger a build on draft PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant