ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.56k stars 807 forks source link

Error on https://web.archive.org/web/20200730130616/https://boyslife.org/games/online-games/16694/mad-planet/ #8729

Open 123ldk opened 1 year ago

123ldk commented 1 year ago

Error Info

Error name: Error Error message: panicked at 'Stage must always have a root movie', core/src/display_object/stage.rs:580:9 Error stack:

966/D/n.wbg.__wbg_new_f9bb493369a83c12@moz-extension://cd345c3a-e5ba-42f8-b318-e1dfd1b5c02e/dist/966.js:1:6972
std::sync::once::Once::call_once::{{closure}}::hcd46b3a2543691b9@:wasm-function[927]:0x26cae0
std::sync::once::Once::call_inner::h34aee843864daceb@:wasm-function[1403]:0x319a4c
core::ops::function::FnOnce::call_once{{vtable.shim}}::hb7a03847d0b7780a@:wasm-function[4992]:0x4bd53a
std::panicking::rust_panic_with_hook::h70a0e195f4db2a29@:wasm-function[3769]:0x47c2fa
core::panicking::panic_fmt::h751be80779d42b53@:wasm-function[5233]:0x4c2397
core::option::expect_failed::h2290d18a0c9a6a24@:wasm-function[5916]:0x4d5aaf
ruffle_core::display_object::stage::Stage::root_clip::he233f8c082471f13@:wasm-function[3705]:0x476499
ruffle_web::Ruffle::tick::ha75571213826a268@:wasm-function[643]:0x1e9e69
ruffle_web::Ruffle::new_internal::{{closure}}::{{closure}}::{{closure}}::h2f891ef58527c159@:wasm-function[6160]:0x4ddff1
<dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::ha5bbdaf30b9327e7@:wasm-function[5598]:0x4cc137
S@moz-extension://cd345c3a-e5ba-42f8-b318-e1dfd1b5c02e/dist/966.js:1:2576
c@moz-extension://cd345c3a-e5ba-42f8-b318-e1dfd1b5c02e/dist/966.js:1:2253

Player Info

Allows script access: false Renderer: WebGL Player type: Object SWF URL: https://media.boyslife.org/flashgames/madplanet/madplanet.swf Param base: . Attribute 0: undefined Attribute 1: undefined Attribute 2: undefined Attribute 3: undefined Attribute 4: undefined Attribute 5: undefined

Page Info

Page URL: https://web.archive.org/web/20200730130616/https://boyslife.org/games/online-games/16694/mad-planet/ SWF URL: https://media.boyslife.org/flashgames/madplanet/madplanet.swf

Browser Info

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:107.0) Gecko/20100101 Firefox/107.0 Platform: Linux x86_64 Has touch support: false

Ruffle Info

Version: 0.1.0 Name: nightly 2022-12-07 Channel: nightly Built: 2022-12-07T00:18:07.185Z Commit: 2bb4e2e549ab39d2f2cb7d8194ac21bb1ca2e682 Is extension: true

Metadata

width: 640 height: 480 frameRate: 30 numFrames: 2 swfVersion: 10 backgroundColor: undefined isActionScript3: true uncompressedLength: 3020670

123ldk commented 11 months ago

Game is now running, albeit with excessive unexpected slowdowns when there's multiple enemies/projectiles on-screen

I tried to snag the debug output during an intensive bossfight in hopes it might shed some light on what's going on, here it is:

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "Intel(R) HD Graphics" Adapter Device Type: IntegratedGpu Adapter Driver Name: "" Adapter Driver Info: "" Enabled features: Features(TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | PUSH_CONSTANTS | SHADER_UNUSED_VERTEX_OUTPUT) Available features: Features(TEXTURE_COMPRESSION_BC | TEXTURE_COMPRESSION_ETC2 | TEXTURE_COMPRESSION_ASTC | CLEAR_TEXTURE) Current limits: Limits { max_texture_dimension_1d: 8192, max_texture_dimension_2d: 8192, max_texture_dimension_3d: 2048, max_texture_array_layers: 256, max_bind_groups: 4, max_bindings_per_bind_group: 1000, max_dynamic_uniform_buffers_per_pipeline_layout: 8, max_dynamic_storage_buffers_per_pipeline_layout: 0, max_sampled_textures_per_shader_stage: 16, max_samplers_per_shader_stage: 16, max_storage_buffers_per_shader_stage: 0, max_storage_textures_per_shader_stage: 0, max_uniform_buffers_per_shader_stage: 11, max_uniform_buffer_binding_size: 16384, max_storage_buffer_binding_size: 0, max_vertex_buffers: 8, max_buffer_size: 268435456, max_vertex_attributes: 16, max_vertex_buffer_array_stride: 255, min_uniform_buffer_offset_alignment: 32, min_storage_buffer_offset_alignment: 256, max_inter_stage_shader_components: 60, max_compute_workgroup_storage_size: 0, max_compute_invocations_per_workgroup: 0, max_compute_workgroup_size_x: 0, max_compute_workgroup_size_y: 0, max_compute_workgroup_size_z: 0, max_compute_workgroups_per_dimension: 0, max_push_constant_size: 96 } Surface quality: high Surface samples: 4 Surface size: Extent3d { width: 550, height: 400, depth_or_array_layers: 1 }

Page Info

Page URL: moz-extension://355e332e-82ce-489a-9885-7298e713da47/player.html#https://media.boyslife.org/flashgames/madplanet/madplanet.swf SWF URL: https://media.boyslife.org/flashgames/madplanet/madplanet.swf

Browser Info

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0 Platform: Linux x86_64 Has touch support: false

Ruffle Info

Version: 0.1.0 Name: nightly 2023-10-06 Channel: nightly Built: 2023-10-06T00:21:25.739Z Commit: 3a658f5dec872218032a9545ae985dcbadd5c3d4 Is extension: true

Metadata

width: 640 height: 480 frameRate: 30 numFrames: 2 swfVersion: 10 backgroundColor: undefined isActionScript3: true uncompressedLength: 3020670