ruffle-rs / ruffle

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

Error on "On The Wheels" #11410

Closed desertking closed 1 year ago

desertking commented 1 year ago

Error Info

Error name: Error Error message: panicked at 'assertion failed: (left == right) left: 1, right: 0', core/src/pixel_bender.rs:374:13 Error stack:

Error: panicked at 'assertion failed: `(left == right)`
  left: `1`,
 right: `0`', core/src/pixel_bender.rs:374:13
    at U.n.wbg.__wbg_new_87297f22973157c8 (https://www.spiele-umsonst.de/ruffle/core.ruffle.e35c865d482d820da82d.js:1:51022)
    at core::ops::function::FnOnce::call_once{{vtable.shim}}::h21b91a0c05b68a64 (wasm://wasm/02c18352:wasm-function[8618]:0x8264f8)
    at std::panicking::rust_panic_with_hook::h85b7f6628c291e12 (wasm://wasm/02c18352:wasm-function[5649]:0x74e31b)
    at core::panicking::panic_fmt::hf5c4cd929d4aaa9e (wasm://wasm/02c18352:wasm-function[8485]:0x822179)
    at core::panicking::assert_failed_inner::h2aa5e8e7fe201c6e (wasm://wasm/02c18352:wasm-function[3514]:0x65fea8)
    at core::panicking::assert_failed::h078c034e4686b4ea (wasm://wasm/02c18352:wasm-function[7576]:0x7e0862)
    at ruffle_core::avm2::globals::flash::display::shader_data::init::he2d9b0420ff79f6a (wasm://wasm/02c18352:wasm-function[931]:0x31ba38)
    at ruffle_core::avm2::function::Executable::exec::hc8df0910658abbbf (wasm://wasm/02c18352:wasm-function[803]:0x2a9625)
    at ruffle_core::avm2::object::TObject::call_property::hce4ab25c7b37944c (wasm://wasm/02c18352:wasm-function[1143]:0x3904ec)
    at <ruffle_core::avm2::object::Object as ruffle_core::avm2::object::TObject>::call_property::haa0058edc116dc97 (wasm://wasm/02c18352:wasm-function[2705]:0x5b61fc)

AVM2 stack:

    at flash.display::ShaderData/flash::display::ShaderData::init()
    at flash.display::ShaderData()
    at flash.display::Shader/set byteCode()
    at Preloader()

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (NVIDIA, NVIDIA GeForce GTX 1050 Ti Direct3D11 vs_5_0 ps_5_0, D3D11)" Adapter Device Type: Other Adapter Driver Name: "" Adapter Driver Info: "" Enabled features: Features(TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | PUSH_CONSTANTS) Available features: Features(TEXTURE_COMPRESSION_BC | CLEAR_TEXTURE | MULTIVIEW) Current limits: Limits { max_texture_dimension_1d: 16384, max_texture_dimension_2d: 16384, max_texture_dimension_3d: 2048, max_texture_array_layers: 256, max_bind_groups: 4, max_bindings_per_bind_group: 640, 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: 256, 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

SWF URL: https://www.spiele-umsonst.de/azad/downloads/flashgames/onthewheels.swf

Browser Info

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36 Platform: Win32 Has touch support: false

Ruffle Info

Version: 0.1.0 Name: nightly 2023-06-07 Channel: nightly Built: 2023-06-07T00:25:26.383Z Commit: 5fd7dc2c9b19fc7ba0f1154d05e36ad66aded630 Is extension: false

Metadata

width: 800 height: 600 frameRate: 30 numFrames: 2 swfVersion: 12 backgroundColor: undefined isActionScript3: true uncompressedLength: 9018499

n0samu commented 1 year ago

This should be fixed by #11371