Objc2 framework panics on MacOS 26 developer beta
- Dominant language
- Rust
- Stars
- 48.2k
- Forks
- 4.8k
- Avg merge
- 3d 22h
- Merged PRs (30d)
- 161
Description
## 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
```
Contributor guide
Assessment
This issue has not been assessed yet.