Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Microck on December 14, 2019, 04:44:22 PM

Title: V sync action issue[SOLVED]
Post by: Microck on December 14, 2019, 04:44:22 PM
Hello !
I've got an issue with the V Sync Count action.

Quote
Value must be 0, 1 or 2
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMaker.Actions.SetVSyncCount:OnEnter() (at Assets/PlayMaker Custom Actions/QualitySettings/SetVSyncCount.cs:30)
HutongGames.PlayMaker.FsmState:ActivateActions(Int32) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:205)
HutongGames.PlayMaker.FsmState:OnEnter() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/FsmState.cs:175)
HutongGames.PlayMaker.Fsm:EnterState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2768)
HutongGames.PlayMaker.Fsm:SwitchState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2715)
HutongGames.PlayMaker.Fsm:UpdateStateChanges() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2643)
HutongGames.PlayMaker.Fsm:UpdateState(FsmState) (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:2784)
HutongGames.PlayMaker.Fsm:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/Classes/Fsm.cs:1995)
PlayMakerFSM:Update() (at C:/Projects/Playmaker_1.9.0/Projects/Playmaker.source.unity/Assets/PlayMaker/PlayMakerFSM.cs:579)

Since dudebxl, the author is inactive (last active: 2017), can someone fix this (or maybe already fixed by someone) ?

Second question is: how do you deal with V sync options for your projects with playmaker ? Since they aren't many actions related to that in the ecosystem, I'm curious.  :D
Title: Re: V sync action issue[SOLVED]
Post by: jeanfabre on December 16, 2019, 02:44:02 AM
Hi,

 Done, you can now go u to 4 which is the max you can set programmatically.

please update from the ecosystem

https://gamedev.stackexchange.com/questions/159273/the-value-of-vsync-on-vsync-count-in-unity

Bye,
 
Jean
Title: Re: V sync action issue
Post by: Microck on December 16, 2019, 01:38:13 PM
Awesome ! Thank you Jean !  :)