Obi Official Forum
Error and Set position by transform - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html)
+--- Thread: Error and Set position by transform (/thread-1471.html)



Error and Set position by transform - manurocker95 - 12-11-2019

Hi! I have an object which i need to drag from the point I touch. Now I'm moving it by transform, but I can't do that as the object doesn't move. When using handles, i'm getting this error:

transform.position assign attempt for 'Ball' is not valid. Input position is { NaN, NaN, NaN }.
0x00007FF75F5F422C (Unity) StackWalker::GetCurrentCallstack
0x00007FF75F5F7701 (Unity) StackWalker::ShowCallstack
0x00007FF75DE8FCA5 (Unity) GetStacktrace
0x00007FF7601AB68D (Unity) DebugStringToFile
0x00007FF7601EEAAE (Unity) Transform::SetPosition
0x00007FF75F700D34 (Unity) Transform_CUSTOM_set_position_Injected
0x000002879ED92CC9 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.TransformConfundidoet_position_Injected (UnityEngine.Transform,UnityEngine.Vector3&)
0x000002879ED92B3B (Mono JIT Code) UnityEngine.TransformConfundidoet_position (UnityEngine.Vector3)
0x000002879EE0C163 (Mono JIT Code) [ObiSoftbody.cs:65] Obi.ObiSoftbody:OnSolverStepEnd (single) 
0x000002879EE0B3D0 (Mono JIT Code) [ObiSolver.cs:877] Obi.ObiSolver:AllSolversStepEnd () 
0x000002879EE0AE3B (Mono JIT Code) [ObiArbiter.cs:45] Obi.ObiArbiter:WaitForAllSolvers () 
0x000002879EE0A933 (Mono JIT Code) [ObiSolver.cs:784] Obi.ObiSolver:WaitForAllSolvers () 
0x000002879EE06C73 (Mono JIT Code) [ObiSolver.cs:672] Obi.ObiSolver:SimulateStep (single) 
0x000002879EE03B43 (Mono JIT Code) [ObiSolver.cs:866] Obi.ObiSolver:FixedUpdate () 
0x00000287B79C6108 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFDBD02C090 (mono-2.0-bdwgc) [mini-runtime.c:2809] mono_jit_runtime_invoke 
0x00007FFDBCFB2142 (mono-2.0-bdwgc) [object.c:2921] do_runtime_invoke 
0x00007FFDBCFBB13F (mono-2.0-bdwgc) [object.c:2968] mono_runtime_invoke 
0x00007FF75F57E462 (Unity) scripting_method_invoke
0x00007FF75F578111 (Unity) ScriptingInvocation::Invoke
0x00007FF75F5311FB (Unity) MonoBehaviour::CallMethodIfAvailable
0x00007FF75F5315E6 (Unity) MonoBehaviour::CallUpdateMethod
0x00007FF75EC35238 (Unity) BaseBehaviourManager::CommonUpdate<FixedBehaviourManager>
0x00007FF75EC3DAA4 (Unity) FixedBehaviourManager::Update
0x00007FF75F0545AC (Unity) `InitPlayerLoopCallbacks'::`2'::FixedUpdateScriptRunBehaviourFixedUpdateRegistrator::Forward
0x00007FF75F03E588 (Unity) ExecutePlayerLoop
0x00007FF75F03E669 (Unity) ExecutePlayerLoop
0x00007FF75F0434DB (Unity) PlayerLoop
0x00007FF75D602A7B (Unity) PlayerLoopController::UpdateScene
0x00007FF75D60052C (Unity) Application::TickTimer
0x00007FF75DE971C0 (Unity) MainMessageLoop
0x00007FF75DE99BDF (Unity) WinMain
0x00007FF760B46952 (Unity) __scrt_common_main_seh
0x00007FFE2DD77BD4 (KERNEL32) BaseThreadInitThunk
0x00007FFE2F08CED1 (ntdll) RtlUserThreadStart

and the mesh disappears. reinitializing and binding again doesn't work. Any clue?