LogicEditor | OneShot Node broke after separating Click into ClickDown and ClickUp
Summary
After merging the changes to the click activation (splitting it into clickup and clickdown) the Oneshot broke.
Steps to reproduce
Build a simple test graph and test this in desktop mode.
What is the current bug behavior?
The click activation fails, e.g. no reaction is triggered.
What is the expected correct behavior?
Click should trigger reactions.
Version
0.4.3-preview
Build Target
All
Mode
All
Relevant logs and/or screenshots
LogicEditor | Error | Activator Primary_Modal/ActReactOneShot.cs | 871461ff-2278-40ff-873f-7af43b339919 does not have an event for OnClickDown
at System.Environment.get_StackTrace () [0x00000] in <e40e5a8f982c4b618a930d29f9bd091c>:0
at Figments.Modules.LogicEditor.Console.LogicEditorConsole.LogError (System.String message) [0x00000] in C:\Data\Git RWTH\Figments.nrw\FigmentsNRW\Assets\Figments\Modules\LogicEditor\Console\LogicEditorConsole.cs:25
at Figments.Modules.LogicEditor.Execution.Extensions.LogicDataRuntimeExtensions.Setup (Figments.Modules.LogicEditor.DataObjects.LogicConnectionData logicConnectionData, System.Collections.Generic.List`1[T] logicScripts) [0x00044] in C:\Data\Git RWTH\Figments.nrw\FigmentsNRW\Assets\Figments\Modules\LogicEditor\Execution\Extensions\LogicDataRuntimeExtensions.cs:133
at Figments.Modules.LogicEditor.Execution.Extensions.LogicDataRuntimeExtensions.ApplyToScene (Figments.Modules.LogicEditor.DataObjects.LogicData logicData) [0x00125] in C:\Data\Git RWTH\Figments.nrw\FigmentsNRW\Assets\Figments\Modules\LogicEditor\Execution\Extensions\LogicDataRuntimeExtensions.cs:68
at Figments.Modules.LogicEditor.Execution.Controllers.RuntimeLogicDataControl.AddLogicObjects (Figments.Modules.LogicEditor.DataObjects.LogicData logicData) [0x00000] in C:\Data\Git RWTH\Figments.nrw\FigmentsNRW\Assets\Figments\Modules\LogicEditor\Execution\Controllers\RuntimeLogicDataControl.cs:24
at Figments.Modules.LogicEditor.Execution.LogicExecutionBase.LoadJsonFile (System.String fileName) [0x0005a] in C:\Data\Git RWTH\Figments.nrw\FigmentsNRW\Assets\Figments\Modules\LogicEditor\Execution\LogicExecutionBase.cs:96
at Figments.Modules.LogicEditor.Execution.LogicExecutionAutomatic.Start () [0x00012] in C:\Data\Git RWTH\Figments.nrw\FigmentsNRW\Assets\Figments\Modules\LogicEditor\Execution\LogicExecutionAutomatic.cs:42
0x00007ff6ccf210cd (Unity) StackWalker::GetCurrentCallstack
0x00007ff6ccf27da9 (Unity) StackWalker::ShowCallstack
0x00007ff6cde94e73 (Unity) GetStacktrace
0x00007ff6ce52a1cd (Unity) DebugStringToFile
0x00007ff6cc08d372 (Unity) DebugLogHandler_CUSTOM_Internal_Log
0x000001a6b8f1a153 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x000001a6b8f1a06b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x000001a7db06e9e1 (Mono JIT Code) UnityEngine.Logger:LogFormat (UnityEngine.LogType,string,object[])
0x000001a7db06e92a (Mono JIT Code) UnityEngine.Debug:LogErrorFormat (string,object[])
0x000001a7db06de0b (Mono JIT Code) [LogicEditorConsole.cs:27] Figments.Modules.LogicEditor.Console.LogicEditorConsole:LogError (string)
0x000001a7db06af33 (Mono JIT Code) [LogicDataRuntimeExtensions.cs:134] Figments.Modules.LogicEditor.Execution.Extensions.LogicDataRuntimeExtensions:Setup (Figments.Modules.LogicEditor.DataObjects.LogicConnectionData,System.Collections.Generic.List`1<Figments.Modules.LogicEditor.Execution.Interfaces.ILogic>)
0x000001a7db05f1bb (Mono JIT Code) [LogicDataRuntimeExtensions.cs:69] Figments.Modules.LogicEditor.Execution.Extensions.LogicDataRuntimeExtensions:ApplyToScene (Figments.Modules.LogicEditor.DataObjects.LogicData)
0x000001a7db05ea33 (Mono JIT Code) [RuntimeLogicDataControl.cs:26] Figments.Modules.LogicEditor.Execution.Controllers.RuntimeLogicDataControl:AddLogicObjects (Figments.Modules.LogicEditor.DataObjects.LogicData)
0x000001a7db04deb3 (Mono JIT Code) [LogicExecutionBase.cs:96] Figments.Modules.LogicEditor.Execution.LogicExecutionBase:LoadJsonFile (string)
0x000001a7db04db9b (Mono JIT Code) [LogicExecutionAutomatic.cs:43] Figments.Modules.LogicEditor.Execution.LogicExecutionAutomatic:Start ()
0x000001a7c6f254c8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007ff848a4e4b4 (mono-2.0-bdwgc) [mini-runtime.c:3445] mono_jit_runtime_invoke
0x00007ff84898e764 (mono-2.0-bdwgc) [object.c:3066] do_runtime_invoke
0x00007ff84898e8fc (mono-2.0-bdwgc) [object.c:3113] mono_runtime_invoke
0x00007ff6cce458c4 (Unity) scripting_method_invoke
0x00007ff6cce404e4 (Unity) ScriptingInvocation::Invoke
0x00007ff6cce14a22 (Unity) MonoBehaviour::InvokeMethodOrCoroutineChecked
0x00007ff6cce14b5b (Unity) MonoBehaviour::InvokeMethodOrCoroutineChecked
0x00007ff6cce0f182 (Unity) MonoBehaviour::DelayedStartCall
0x00007ff6cc90cdb4 (Unity) DelayedCallManager::Update
0x00007ff6ccb1ca99 (Unity) `InitPlayerLoopCallbacks'::`2'::EarlyUpdateScriptRunDelayedStartupFrameRegistrator::Forward
0x00007ff6ccb043cc (Unity) ExecutePlayerLoop
0x00007ff6ccb044a3 (Unity) ExecutePlayerLoop
0x00007ff6ccb0a0e9 (Unity) PlayerLoop
0x00007ff6cda51778 (Unity) PlayerLoopController::UpdateScene
0x00007ff6cda4f95f (Unity) Application::TickTimer
0x00007ff6cde9b00a (Unity) MainMessageLoop
0x00007ff6cde9f8bb (Unity) WinMain
0x00007ff6cf1d28be (Unity) __scrt_common_main_seh
0x00007ff97a15257d (KERNEL32) BaseThreadInitThunk
0x00007ff97a7caf28 (ntdll) RtlUserThreadStart
Possible fixes
Change Oneshot to use the new ClickUp Activation
Edited by Christian Dominic