R135 Deduplication algorithm bug (now with capx)

Bugs will be moved here once resolved.

Post » Thu Jun 20, 2013 8:23 pm

#UPDATED#

Link to .capx file (required!):
Deduplication Bug


Steps to reproduce:

1. The first layout is shown when run. Here "gsr" sprite is defined as global but destroyed.
2. Press Enter (this takes you to the second layout)
3. This layout creates an instance of the sprite "gsr". Pressing 1 to 6 should play its different animations. These animations will play correctly so all good up to now
4. Press Enter (this takes you to the third layout)
5. Since the sprite "gsr" is a global object it should continue functioning. But when alternating its animations using 1-6, youwill find out the first ones are corrupted (the ones beloging to the first sprite sheet).

Note that this will work FINE on the preview (F5 or F4) you have to export it for the bug to appear (this is the reason I think the bug is in the deduplication).

Observed result:
Some animation frames of the sprite are corrupted in the exported version

Expected result:
They should display fine mirroring the result of the preview

Browsers affected:
Chrome: YES (tested)
Firefox: YES (tested, corruption seems different but still happens)
Internet Explorer: UNTESTED

Operating system & service pack:
Win7 64 up to date

Construct 2 version:
135

Thanks in advance!Alcemon2013-06-21 00:57:49
B
19
S
4
G
4
Posts: 71
Reputation: 3,913

Post » Fri Jun 21, 2013 12:47 am

After a long trial and error session I have finally produced the minimal capx that recreates the problem and "sanitized" it of all my resources.

Deduplication Bug

I hope this helps in finding the problem.

Thanks again

PS: Remember you will not see any bug if you run it on the preview, you need to export it for it to appearAlcemon2013-06-21 00:58:14
B
19
S
4
G
4
Posts: 71
Reputation: 3,913

Post » Fri Jun 21, 2013 3:21 pm

Thanks, good find. I think this should be fixed in the next build.
Scirra Founder
B
386
S
229
G
87
Posts: 24,201
Reputation: 191,540

Post » Fri Jun 21, 2013 3:33 pm

Happy to help, thanks for the quick reply
B
19
S
4
G
4
Posts: 71
Reputation: 3,913


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 0 guests