Skip to content

The win32-x64 engine player crashes at startup (0xC0000409), even with --check-game #614

Open

Description

@jonit-dev

What happens

The Windows engine player that @threenative/runtime-native@0.3.11 installs (win32-x64-engine-player) exits at once with 0xC0000409 (fail-fast or abort). It prints nothing, even with --check-game, which needs no GPU.

> Start-Process .\player.exe -ArgumentList 'game.js','--check-game' -Wait -PassThru
exit=0xC0000409 (-1073740791)      # stdout and stderr empty

The same game (threenative-store/examples/fox-native) boots on Linux.

Evidence

Two packaging gaps on Windows (same run)

  1. dist-native/<name>/tn-native-engine-player-v8 has no .exe suffix.
  2. dist-native/<name>/<name> is a POSIX #!/bin/sh launcher, which Windows cannot run. A .cmd or an .exe launcher is needed.

Coverage gap

native-platforms.yml runs the --check-game starter boot on linux-x64 only. native-release.yml builds tn-native-engine-player-v8.exe but does not boot it. A Windows --check-game boot in the release job would have caught this.

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