Skip to content

STATUS_ACCESS_VIOLATION in CorePipelinePlugin #13559

Closed
@Weihnachtsbaum

Description

@Weihnachtsbaum

Bevy version

0.13.2

System information

  • cargo 1.80.0-nightly (84dc5dc11 2024-05-20)
  • Windows 10
`AdapterInfo { name: "Intel(R) HD Graphics 5500", vendor: 32902, device: 5654, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Dx12 }`

What you did

Initially I did this:

use bevy::prelude::*;
fn main() {
    App::new()
        .add_plugins(DefaultPlugins)
        .run()
}

Then I tried narrowing the problem down and ended up with this:

fn main() {
    bevy_app::App::new()
        // MinimalPlugins
        .add_plugins(bevy_core::TaskPoolPlugin::default())
        .add_plugins(bevy_core::TypeRegistrationPlugin)
        .add_plugins(bevy_core::FrameCountPlugin)
        .add_plugins(bevy_time::TimePlugin)
        .add_plugins(bevy_app::ScheduleRunnerPlugin::default())

        // required for CorePipelinePlugin to run
        .add_plugins(bevy_window::WindowPlugin::default())
        .add_plugins(bevy_asset::AssetPlugin::default())
        .add_plugins(bevy_render::RenderPlugin::default())
        .add_plugins(bevy_render::texture::ImagePlugin::default())

        // causes crash
        .add_plugins(bevy_core_pipeline::CorePipelinePlugin)

        .run();
}

What went wrong

The program crashes after a few seconds with the error:

error: process didn't exit successfully: `target\debug\bevy_crash.exe` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorO-WindowsSpecific to the Windows desktop operating systemS-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