ID:2385361
 
Resolved
Animating filters could cause crashes in some situations.
BYOND Version:512.1438
Operating System:Windows 10 Pro
Web Browser:Chrome 67.0.3396.99
Applies to:Dream Seeker
Status: Resolved (512.1439)

This issue has been resolved.
Descriptive Problem Summary: I am trying to create an effect that makes a player invisible while animating a filter and then animating that filter again to remove it, but it's crashing the game once played twice.

Numbered Steps to Reproduce Problem:Just press the command "Test"

Code Snippet (if applicable) to Reproduce Problem:
mob/verb/Test()
var T = 2

while(T)
filters += filter(type="blur")
animate(src, alpha = 0, time=3, flags = ANIMATION_PARALLEL)
animate(filters[filters.len], size=2, time=3) //While previous animation
animate(size=0, time=3) //After previous animation has ended
T --


Expected Results: Animation happens without any crash

Actual Results: Dreamseeker is closed (and so is DreamDaemon while hosting)

Does the problem occur:
Every time? Or how often? Always
In other games? Haven't tested, but I'm sure it would
In other user accounts? Yes
On other computers? Haven't been able to test it

When does the problem NOT occur? When the 3 animations aren't repeated. But of course, due to different factors in my game, the animations could happen more than once, and thus the game'd crash.

Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.) It did

Workarounds:
I can't find a way to animate both the character's alpha and the filter(s) without removing ANIMATION_PARALLEL flag. And the effect I want to create can't be done without it. If I call this animation once it works just fine, but if for whatever reason the proc is called again, the game just crashes. I don't know if there's a way to detect if there is a type="blur" filter active, as I've tried to check it through some ways but none would work.
Lummox JR resolved issue with message:
Animating filters could cause crashes in some situations.