playMaker

Author Topic: V sync action issue[SOLVED]  (Read 1274 times)

Microck

  • Playmaker Newbie
  • *
  • Posts: 22
V sync action issue[SOLVED]
« 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
« Last Edit: December 17, 2019, 12:45:27 AM by jeanfabre »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: V sync action issue[SOLVED]
« Reply #1 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

Microck

  • Playmaker Newbie
  • *
  • Posts: 22
Re: V sync action issue
« Reply #2 on: December 16, 2019, 01:38:13 PM »
Awesome ! Thank you Jean !  :)