On Destroyed Bug after Loading Game State[gamebreaking bug!]

Report Construct 2 bugs here.

Post » Sat Jan 13, 2018 7:23 pm

Problem Description
When an instance is destroyed, and then the game state is saved, loading triggers On Destroy to misfire after the page is reloaded or newly run.

edit: btw, if you have multiple on destroy events, you can have multiple misfired events depending on how many destroyed instances there were when you saved.

Attach a Capx
https://1drv.ms/u/s!AhHSZHEulqh_ghA3H7Y-hEbKcJ1h

Description of Capx
Destroys a sprite via hitting number 2 Key.
Game state is saved via hitting F3.
user reloads the page.
Game state is loaded vis hitting F4.
The bug occurs, misfiring the on Destroy triggers.


Steps to Reproduce Bug
  • hit number 2 key
  • hit F3 to save
  • reload page
  • hit F4 load

Observed Result
on destroyed triggers are misfired (bug occurs)

Expected Result
for the triggers not to malfunction.

Affected Browsers
  • Chrome: (YES)
  • FireFox: (YES)
  • Internet Explorer: (YES)

Operating System and Service Pack
vista sp2

Construct 2 Version ID
__r250
B
49
S
23
G
66
Posts: 1,151
Reputation: 39,103

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests