ruffle-rs / ruffle

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

Ruffle errors out with Ungoogled Chromium #11661

Closed pikakid98 closed 1 year ago

pikakid98 commented 1 year ago

Describe what you were doing

When using Ungoogled Chromium, The extension seems to give me an error, even when using incognito mode. Not sure if this is something to do with the browser or my GPU or what-not. But the desktop app runs perfectly. I've suffered lag in UGC so I switched to D3D11 but the default Angle rendered doesn't work either. I've tried with hardware acceleration on and off, I've allowed WebGL access to the page and still the issue persists.. It might possibly be something to do with Ungoogled Chromium as it works fine on Firefox.. alternatively, it may also be the Chromium codebase in general. I've even tried disabling the extension to see if it's my install.. Nope. same problem. Even on a PC that has never installed Ruffle (ie, my friend's PC)

What does the crash message say?

It's in the screenshots below

Ruffle Version

nightly 2023-06-21 (And about 10 or so versions behind)

Affected platform

Browser's extension

Operating system

Windows 10 Home (64-Bit)

Additional information

This image is what happens on the main site. but at first, I thought maybe the site itself was just having issues image So I experimented with Portal: The Flash Version and got the same error image

Lord-McSweeney commented 1 year ago

This error is because Ruffle failed to load its necessary WebAssembly component. Can you paste the information visible after clicking "View Error Details"?

pikakid98 commented 1 year ago

Error Info

Error name: ReferenceError Error message: WebAssembly is not defined Error stack:

ReferenceError: WebAssembly is not defined
    at t (https://unpkg.com/@ruffle-rs/ruffle:2:102280)
    at https://unpkg.com/@ruffle-rs/ruffle:2:104985
    at h (https://unpkg.com/@ruffle-rs/ruffle:2:105777)
    at Be.ensureFreshInstance (https://unpkg.com/@ruffle-rs/ruffle:2:316081)
    at Be.load (https://unpkg.com/@ruffle-rs/ruffle:2:319553)
    at https://ruffle.rs/:82:13

Player Info

Allows script access: false

Page Info

Page URL: https://ruffle.rs/

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-21 Channel: nightly Built: 2023-06-21T00:19:43.730Z Commit: b3c40ecda107ee33cbc44868fcd7dfdbdc634775 Is extension: false

Metadata

pikakid98 commented 1 year ago

Also. Out of curiosity, I tested this in an older version of Ungoogled Chromium.. specifically v112.0.5615.121 and the error didn't occur.. So the issue is likely on Ungoogled Chromium's side

pikakid98 commented 1 year ago

I just reported it to the UGC team too https://github.com/ungoogled-software/ungoogled-chromium/issues/2394 so we'll see which side is at fault

pikakid98 commented 1 year ago

wait.. I'm dumb.. I didn't enable the new option to allow Javascript... so sorry.. I noticed in my own error log that I didn't allow the page to access scripts Allows script access: false.. sorry. would you mind deleting my issue? XD

pikakid98 commented 1 year ago

maybe someone should put somewhere on the page that Ruffle requires image these 2 options to be enabled so idiots like me don't start coming to the issues like "duh. it nodd woerking"