ruffle-rs / ruffle

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

Pogo Swing crashes after the outro sequence at the end of the game #9136

Open qfoxb opened 1 year ago

qfoxb commented 1 year ago

Describe the bug

Reproduction Steps:

Expected behavior

Game loads a leaderboard by downloading and running http://agi.armorgames.com/assets/agi/AGI.swf

Affected platform

Browser's extension

Operating system

Windows 10

Browser

Chrome 108

Additional information

Game Crashes with this error in JS console: 966.js:738 ERROR core/src/display_object/movie_clip.rs:2363 Error occured when running AVM2 frame script: RustError("Cannot access property ::initAGUI of null or undefined") AGI.swf crashes with 966.js:738 ERROR core/src/display_object/movie_clip.rs:2039 Got RustError("Property does not exist: Multiname { ns: Single(Namespace(\"\")), name: Some(\"unescape\"), params: [], flags: (empty) }") when constructing AVM2 side of movie clip of type com.armorgames::AGI

Lord-McSweeney commented 1 year ago

Unimplemented unescape in AVM2?

If this crashes the leaderboard, then it may influence the outer SWF to also crash.