playMaker

Author Topic: Find FSM's and states in FSM's by name with search  (Read 934 times)

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Find FSM's and states in FSM's by name with search
« on: November 18, 2021, 02:58:37 PM »
So i've got a huge issue in game. I'm currently porting the game for consoles and decoupling stuff from Steam. However, i missed something and i get this error:

Code: [Select]
Could Not Create Action: : OverlayCheck: Check Overlay: Steam_OverlayActive (Maybe the script was removed?)
0x00007FF63A9730DC (Unity) StackWalker::GetCurrentCallstack
0x00007FF63A977081 (Unity) StackWalker::ShowCallstack
0x00007FF638FE5F05 (Unity) GetStacktrace
0x00007FF63B62EFEE (Unity) DebugStringToFile
0x00007FF63A9D6941 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x000001C6A9D1D88B (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x000001C6A9D1D4AB (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x000001C6F4157F3E (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x000001C8B77B24FA (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x000001C6F3C47D43 (Mono JIT Code) [ActionData.cs:854] HutongGames.PlayMaker.ActionData:CreateAction (HutongGames.PlayMaker.ActionData/Context,int)
0x000001C6F3C47133 (Mono JIT Code) [ActionData.cs:787] HutongGames.PlayMaker.ActionData:LoadActions (HutongGames.PlayMaker.FsmState)
0x000001C6F3C46D9B (Mono JIT Code) [FsmState.cs:136] HutongGames.PlayMaker.FsmState:LoadActions ()
0x000001C6F3C405D3 (Mono JIT Code) [Fsm.cs:1815] HutongGames.PlayMaker.Fsm:InitData ()
0x000001C69A22EE1B (Mono JIT Code) [PlayMakerFSM.cs:913] PlayMakerFSM:OnAfterDeserialize ()
0x000001C78F827D28 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FF8A944E270 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke
0x00007FF8A93D2AE2 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke
0x00007FF8A93DBB3F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke
0x00007FF63A8E4D7E (Unity) scripting_method_invoke
0x00007FF63A8DEAED (Unity) ScriptingInvocation::Invoke
0x00007FF637D1CC8B (Unity) InvokeMethod<JSONRead>
0x00007FF638EDCDE6 (Unity) ExecuteSerializationCommands<SafeBinaryRead>
0x00007FF638EE8EB5 (Unity) TransferScriptingObject<YAMLRead,0>
0x00007FF638EE77D7 (Unity) SerializableManagedRefTransfer::TransferMonoInstance<YAMLRead>
0x00007FF63A8B08A3 (Unity) MonoBehaviour::VirtualRedirectTransfer
0x00007FF638F403FC (Unity) SerializedFile::ReadObject
0x00007FF638F02731 (Unity) PersistentManager::ReadAndActivateObjectThreaded
0x00007FF638EFF964 (Unity) PersistentManager::LoadFileCompletelyThreaded
0x00007FF63A39CBC4 (Unity) LoadSceneOperation::Perform
0x00007FF63A39DB34 (Unity) PreloadManager::ProcessSingleOperation
0x00007FF63A39E166 (Unity) PreloadManager::Run
0x00007FF63A78EC23 (Unity) Thread::RunThreadWrapper
0x00007FF9244A7BD4 (KERNEL32) BaseThreadInitThunk
0x00007FF92644CE51 (ntdll) RtlUserThreadStart

I guess OverlayCheck is FSM name and Check Overlay is the name of the state, but in order to find them i must go through hundreds of prefabs and game objects.

It would be great if we had a search menu where we could enter the state or FSM name and it points us to the game object holding it.
Available for Playmaker work

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Find FSM's and states in FSM's by name with search
« Reply #1 on: November 19, 2021, 01:05:19 PM »
Hi.
a way you could try is to remove the steam actions (make a backup of your project)


then check the playmaker 'error check' it should give missing actions errors and double click them to find the actions

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Find FSM's and states in FSM's by name with search
« Reply #2 on: November 20, 2021, 10:05:39 AM »
It's not a problem, i found it, but it served as an idea for a proposal of FSM/State search.

When coding, you can search whatever you want in the project, it would be neat if we could do that too.
Available for Playmaker work