playMaker

Author Topic: Variables not changing on runtime  (Read 1064 times)

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Variables not changing on runtime
« on: November 09, 2022, 08:28:19 AM »
This is a new scene, with just the main camera and a light.
As you can see the variable is not changing. Sometimes it works when I stop and play but more often than not, it doesn't work.

This is on playmaker 1.9.5 and unity 2021.2.12

Any help would be appreciated, thank you
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

sebaslive

  • Hero Member
  • *****
  • Posts: 572
    • Frame Tale Studios
Re: Variables not changing on runtime
« Reply #1 on: November 10, 2022, 07:45:58 AM »
Just to add to this, I also tried removing and reinstalling playmaker. This happens with variables aside from float. It simply does not store the variable data.
All my VR games use Steam VR Playmaker Toolkit: http://u3d.as/u20
And Oculus Touch Playmaker Toolkit: http://u3d.as/QT5


Follow me @sebasRez

craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 234
    • Haven Made
Re: Variables not changing on runtime
« Reply #2 on: January 05, 2023, 12:31:02 PM »
I have a hunch this might be related to the Enter Play Mode checkboxes in the Project Settings>Editor panel. I had issues with variables not getting set, and events not working, as well as runtime changes to FSM not functioning properly.

Here's what mine are set at and are working properly.