Area Effector 2D and the Animator not working together.

Windows 7 64bit environment (compiling to android) (testing in windows),
2D platformer’ish style game,
Unity 5.1.2f1

Okay my issue right now is i have a 2D game with water and an “area effector 2d” used to make the player float. I want to make the water lower. so i added an animator and setup what i want to change from full water to low water. when i play the game the water lowers (from an animation adjusting the transform etc) but the area effector is no longer working during animation play? if i disable the animation the effect will come back, while debugging. i want the player to still float as the water lowers but he just drops all the way to the bottom.

Layout is
Gameobject with Sprite Render, animator, Box Collider 2D, Area effector 2D and a controller script which doesn’t do anything right now.

Again without animation the water works fine and the player kind of goes into the water and floats back up to the top.

Any ideas? Thanks.

http://forum.unity3d.com/threads/area-effector-2d-does-not-seem-to-work-while-adjusting-scale-custom-area-effector-2d-solved.349991/#post-2271520

I’ve posted this in the forum. And this link is my answer to my own question :slight_smile:

I just wrote my own Area Effector 2D script. only works with one object. could use more work to be cleaner and be a direct replacement drop in for area effector 2D.