Skip to content

Objc2 framework panics on MacOS 26 developer beta #19625

Open
@realhackcraft

Description

@realhackcraft

Bevy version

0.15.3

[Optional] Relevant system information

  • the operating system or browser used, including its version
    • e.g. MacOS 26 developer beta

What you did

My project, which was running fine on macOS 15, panics on the developer beta.

What went wrong

thread 'main' panicked at /Users/me/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/objc2-foundation-0.2.2/src/generated/NSEnumerator.rs:7:1:
invalid message send to -[_TtGCs23_ContiguousArrayStorageCSo8NSScreen_$ countByEnumeratingWithState:objects:count:]: expected return to have type code 'q', but found 'Q'

Additional information

This might also be caused by bevy_hanabi, but I haven't isolated it. The last log before the panic is

2025-06-13T17:29:51.315434Z  INFO bevy_hanabi::plugin: Initializing Hanabi for GPU adapter Apple M2

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-BugAn unexpected or incorrect behaviorC-Machine-SpecificThis bug is isolated to specific hardware or driver configurationsO-MacOSSpecific to the MacOS (Apple) desktop operating systemP-CrashA sudden unexpected crashS-Needs-ReproductionNeeds an up-to-date or minimal reproduction

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions