Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: sebaslive on November 09, 2022, 08:28:19 AM

Title: Variables not changing on runtime
Post by: sebaslive 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
Title: Re: Variables not changing on runtime
Post by: sebaslive 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.
Title: Re: Variables not changing on runtime
Post by: craigz 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.
(https://i.imgur.com/omgf3xL.png)