Open n0samu opened 1 year ago
I think this will be fixed after https://github.com/ruffle-rs/ruffle/pull/11971 is completed.
I hope so!
This is still not fixed by the latest updates to #11971, sadly
Turns out this was progressed by #11971 along with #13940. This is unfortunately affected by #14206, but when external connections are blocked, the game works perfectly up through the first tutorial level. But the second level fails to load with this error:
ERROR run_frame:run_all_phases_avm2: ruffle_core::avm2::events: Error dispatching event EventObject(EventObject { type: "enterFrame", class: flash.events::Event, ptr: 0x1f9e602ad30 }) to handler FunctionObject(FunctionObject { ptr: 0x1f9d5de4640 }) : RustError("Error: Invalid object")
Describe the bug
Link to SWF: http://i.notdoppler.com/files/railroadshuntingpuzzle2.swf
After selecting level 1 in Railroad Shunting Puzzle 2, the tutorial is empty. And if you click the "Skip Tutorial" button, the level will be empty too. The game is clearly failing to load its data.
Also, if you wait on the main menu for a few seconds (instead of immediately clicking the Play button), Ruffle will usually freeze. I'm not sure if this problem is related or separate.
Here are the errors from the game after clicking the first Play button:
After clicking the next Play button (on the main menu), this error appears twice:
More AMF errors also appear. After clicking in the tutorial screen (where it says "click anywhere to continue"), this error appears:
Expected behavior
Levels should be playable.
Affected platform
Desktop app
Operating system
Windows 10
Browser
No response
Additional information
No response