playMaker

Author Topic: Attempting to SaveSettings before LoadSettings  (Read 3289 times)

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Attempting to SaveSettings before LoadSettings
« on: August 02, 2013, 05:45:55 AM »
I get this weird error after trying to make some facebook actions, the error remains even after deleting the actions and restarting :S

PlayMaker: Attempting to SaveSettings before LoadSettings.
UnityEngine.Debug:LogError(Object)
HutongGames.PlayMakerEditor.FsmEditorSettings:SaveSettings()
HutongGames.PlayMakerEditor.ActionSelector:DoBottomPanel()
HutongGames.PlayMakerEditor.ActionSelector:DoGUI()
HutongGames.PlayMakerEditor.BaseEditorWindow:OnGUI()
UnityEditor.DockArea:OnGUI()

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Attempting to SaveSettings before LoadSettings
« Reply #1 on: August 02, 2013, 05:59:11 AM »
Hi,

 can you share the action you are trying to make?

 
bye,

 Jean

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Attempting to SaveSettings before LoadSettings
« Reply #2 on: August 02, 2013, 06:17:39 AM »
Code: [Select]
using UnityEngine;
using System.Collections;
using System.Collections.Generic;

namespace HutongGames.PlayMaker.Actions
{
[ActionCategory("IOS Facebook")]
[Tooltip("Gets the url used to launch the application. If no url was used returns string.Empty")]
public class GetApplicationURL : FsmStateAction
{
[RequiredField]
[UIHint(UIHint.Variable)]
public FsmString AppUrl;

public override void Reset()
{
AppUrl = null;
}
public override void OnEnter()
{
FacebookBinding.getAppLaunchUrl();
Finish();
}
}
}

Note it's unfinished - Looks like I may have fixed it, opened another project and the error was still around :S so re imported playmaker and looks like it's gone :S Ghosts :P

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Attempting to SaveSettings before LoadSettings
« Reply #3 on: August 02, 2013, 06:46:39 AM »
I now get it every time I create an action but it goes away.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Attempting to SaveSettings before LoadSettings
« Reply #4 on: August 02, 2013, 09:14:30 AM »
The warning is harmless - I added it to try and catch when/if this happens. So thank you, it did it's job!

So you edit an action and return to Unity and get the warning?
Does it only happen with the Action Browser open?

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Attempting to SaveSettings before LoadSettings
« Reply #5 on: August 02, 2013, 09:51:19 AM »
That is correct, I also had some newly created blank actions and may have clicked on them .... I also noticed the action preview tick box unchecked :)

Glad thats its harmless.