Animating modifiers with custom parameters become stuck in UPBGE

Using bpy.data.scenes[‘Scene’].frame_set(cont.owner) += 1 works fine on most modifiers and Scene Time for Geometry Nodes.

But when it comes to Geometry Nodes, any custom property variable I animate into an Action and then instruct into logic to play will not work.

The Action plays, but any geonode parameter animated in the Action (shows up as Input_XX) will not.

To reproduce is very easy:

  1. Simply add any object, create your own custom geonode setup.

  2. Animate a custom variable that controls something, like the size of the geonode generated mesh or if you make displacement, the vertices, height or movement. Then animate the object to have it’s location changed or scaling changed.

  3. Setup logic bricks with a Python script to use bpy.data.scenes[‘Scene’].frame_set(cont.owner) += 1 and an And controller to play the animation.

  4. Press P to test. If everything went correctly, your animation will play if you have animated lets object parameter like Scale or Location. Animating modifier parameters does not seem to work for some bizarre reason.

What can I do to work around this issue?