Describe the bug

Purchasing some upgrades in Upgrade Complete 2, such as "User Interface" level 4 cause the player to panic with the following error:

thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `Some(18)`,
 right: `Some(16)`: [FG] Gotos must start from the correct tag position for frame 1', core/src/display_object/
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
AVM2 stack trace: 
        at flash.display::MovieClip/gotoAndStop()

Expected behavior

Game doesn't panic

Affected platform

Desktop app

Operating system



No response

Additional information

Removing this assert stops the panic and the button seems to behave as intended



(Also... does this mean that newgrounds enabled timeline_debug feature for their builds...?)


Just to clarify, this was running in the desktop player with the following:

cargo run --release --features=avm_debug --bin ruffle_desktop  -- --dont-warn-on-unsupported-content UGC2.swf

Trying it out on my end, not only does the upgrade menu look weird on my end (shows all upgrades as available when only a few should be initially), trying to buy required upgrades to play the game like the play button or the button to exit the upgrade menu essentially softlocks the game on ruffle


As of the latest build of ruffle on my end, i'm not seeing any assertion failed panic errors on the current NG, desktop, or the web build when buying upgrades. The upgrade menu seems to show up normally now. (Only a few upgrades initially, can purchase upgrades and they appear as purchased) I was able to fully upgrade user interface and I didn't see any assertion failed comments in the console log, plus I was able to click on the continue button without it softlocking. I believe it was fixed as of the 2023-01-05 nightly build.

2023-01-04 Nightly Upgrade Complete 2 1

2023-01-05 Nightly Upgrade Complete 2 2

© 2022 - All rights reserved.