ruffle-rs / ruffle

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

Error on https://uploads.ungrounded.net/ruffle_wrapper/ruffleembed.html #10304

Closed waspennator closed 1 year ago

waspennator commented 1 year ago

Error Info

Error name: Error Error message: panicked at 'No uniform for push constant', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.15.3/src/gles/command.rs:720:17 Error stack:

Error: panicked at 'No uniform for push constant', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wgpu-hal-0.15.3/src/gles/command.rs:720:17
    at U.n.wbg.__wbg_new_15d3966e9981a196 (https://uploads.ungrounded.net/ruffle_wrapper/lib/core.ruffle.1f937704edf22423e060.js:1:48013)
    at core::ops::function::FnOnce::call_once{{vtable.shim}}::he136b2cec2ed9e70 (wasm://wasm/02a910b2:wasm-function[8061]:0x7f8a09)
    at std::panicking::rust_panic_with_hook::h8d0a63d0479a36c8 (wasm://wasm/02a910b2:wasm-function[5358]:0x72bdf0)
    at core::panicking::panic_fmt::h2a7f454a5f5da218 (wasm://wasm/02a910b2:wasm-function[7945]:0x7f3e24)
    at wgpu_hal::gles::command::<impl wgpu_hal::CommandEncoder<wgpu_hal::gles::Api> for wgpu_hal::gles::CommandEncoder>::set_push_constants::ha7f61a03b2979ed0 (wasm://wasm/02a910b2:wasm-function[3271]:0x63c886)
    at <T as wgpu::context::DynContext>::command_encoder_end_render_pass::h3e1844f1294d843f (wasm://wasm/02a910b2:wasm-function[7576]:0x7e07cf)
    at <wgpu::RenderPass as core::ops::drop::Drop>::drop::h3c919d732a1b614c (wasm://wasm/02a910b2:wasm-function[6378]:0x778a43)
    at ruffle_render_wgpu::surface::Surface::apply_color_matrix::hb2cdd4b0752bef9e (wasm://wasm/02a910b2:wasm-function[903]:0x305b4f)
    at <ruffle_render_wgpu::backend::WgpuRenderBackend<T> as ruffle_render::backend::RenderBackend>::apply_filter::h31472fd1d5711a92 (wasm://wasm/02a910b2:wasm-function[1359]:0x3e1c50)
    at ruffle_core::avm2::globals::flash::display::bitmap_data::apply_filter::hb7761bc50f0c6f6c (wasm://wasm/02a910b2:wasm-function[756]:0x283b10)

AVM2 stack:

    at flash.display::BitmapData/flash::display::BitmapData::applyFilter()
    at TTG::Painter/loadDecals()
    at TTG::Painter()
    at TTG::Main$cinit()
    at global$init() [TU=]

Player Info

Allows script access: true

Page Info

Page URL: https://uploads.ungrounded.net/ruffle_wrapper/ruffleembed.html?v=1.0.67&browsermode=mobile&props=%7B%22ruffle%22%3A%22%2Fruffle_wrapper%2Flib%2Fruffle.js%3F1679361337%22%2C%22public_path%22%3A%22%2Fruffle_wrapper%2Flib%2F%22%2C%22swf%22%3A%22https%3A%2F%2Fuploads.ungrounded.net%2F439000%2F439144_ttg.swf%3F1215639043%22%2C%22vars%22%3A%7B%22NewgroundsAPI_PublisherID%22%3A1%2C%22NewgroundsAPI_SandboxID%22%3A%226419f8fbd6042%22%2C%22NewgroundsAPI_SessionID%22%3A%22ANUI5gpErnYcGhZxn9e1618def3c9d3bd3978094f2909af4993ee19629ecY4LN%22%2C%22NewgroundsAPI_UserName%22%3A%22waspennator%22%2C%22NewgroundsAPI_UserID%22%3A1692431%2C%22ng_username%22%3A%22waspennator%22%7D%2C%22width%22%3A530%2C%22height%22%3A520%2C%22icon%22%3A%22https%3A%2F%2Fimg.ngfiles.com%2Fdefaults%2Ficon-portal-xl-a.gif%3Ff1601395813%22%2C%22warnOnUnsupportedContent%22%3Afalse%7D SWF URL: https://uploads.ungrounded.net/439000/439144_ttg.swf?1215639043

Browser Info

User Agent: Mozilla/5.0 (Linux; Android 13; SM-S901U1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36 Platform: Linux aarch64 Has touch support: true

Ruffle Info

Version: 0.1.0 Name: nightly 2023-03-21 Channel: nightly Built: 2023-03-21T00:21:35.556Z Commit: 7c280fc1716a98b400da96e28195bdebaad669d9 Is extension: false

Metadata

width: 530 height: 520 frameRate: 60 numFrames: 1 swfVersion: 9 backgroundColor: #FFFFFF isActionScript3: true uncompressedLength: 843296

n0samu commented 1 year ago

Can you please specify the name of the game and link to the game's webpage? I don't really want to go searching for this.

waspennator commented 1 year ago

Can you please specify the name of the game and link to the game's webpage? I don't really want to go searching for this.

https://www.newgrounds.com/portal/view/439144?emulate=flash It was specifically this game "The Torture Game 2", it works fine on my laptop, but tosses up this error if I try it on my S22.

waspennator commented 1 year ago

Tested this game on another site with latest nightly, issue seems to be fixed now.