Skip to content

iOS example crashes in 0.15-rc.3 and in mainΒ #16363

@ferama

Description

@ferama

Bevy version

I attempted to run the iOS example using 0.15-rc.3 and from the latest commit in main (4225848)

Relevant system information

I'm using Rust v1.82.0 on MacOS Sonoma

What you did

Attempting to run the iOS example crashes with:

fatal runtime error: Rust cannot catch foreign exceptions
Can't show file for stack frame : <DBGLLDBStackFrame: 0x3396a8160> - stackNumber:3 - name:std::sys::pal::unix::abort_internal::hffa17df7d2f273a1. The file path does not exist on the file system: /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/std/src/sys/pal/unix/mod.rs

It works in bevy 0.14.2

I also attemped to reduce the example removing almost everything.
This one crashes too:

//! A 3d Scene with a button and playing sound.

use bevy::prelude::*;

// the `bevy_main` proc_macro generates the required boilerplate for iOS and Android
#[bevy_main]
fn main() {
    let mut app = App::new();
    app.add_plugins(DefaultPlugins).run();
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorO-iOSSpecific to the iOS mobile operating systemP-HighThis is particularly urgent, and deserves immediate attentionP-RegressionFunctionality that used to work but no longer does. Add a test for this!S-BlockedThis cannot move forward until something else changes

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions