When replacing an object (press R) in an action setting an effect parameter, we can select objects which don't have that effect on them. If we do so, the action disappears without any notification.
Attach a Capx
https://www.dropbox.com/s/lrzmxryqdcfpv ... .capx?dl=0
Description of Capx
A basic project with 2 sprites. One has the effect applied to it, the other don't. There is a single action which set Sprite1's effect parameter to a value. Just select the action, press R, select the other object --> the action disappears.
Steps to Reproduce Bug
- Create 2 sprite objects
- Add a "adjust HSL" effect to one of them.
- Create an action where you set the effect parameter to any value.
- Select the action and press R, select the other object (which doesn't have the effect)
- The action disappears
The action is deleted
The object which doesn't have the effect on them should not be selectable, or an error message should appear. Deleting the action without any notice is not a good idea.
Operating System and Service Pack
Windows 10 / v10.0.14393
Construct 2 Version ID
244 (64 bit)