|
Post by xianno on May 4, 2020 16:01:38 GMT
Hi!
I updated Invector to the new version, with the new inventory and I have a little issue with FSM. I don't know if I'm blind, but since I updated it I got 3 errors on my console :
Assets\Invector-AIController\Scripts\AI\vAIMotor.cs(734,33): error CS7036: There is no argument given that corresponds to the required formal parameter 'arg0' of 'UnityEvent<vDamage>.Invoke(vDamage)'
They are the same, and when I open them with MicrosoftStudio, it points me line with onActiveRagdoll from vAIMotor. How can I fix that quickly? Is there an update on FSM that I missed?
After removing FSM from my project files, everything is working (except my FSM AI of course) I tried re-importing it few times, but nothing changed.
|
|
|
Post by xianno on May 5, 2020 13:54:57 GMT
I'm still stuck with this issue, and can't integrate FSM again in my game. Is anyone got this issue?
Can Invector help me on that one?
This is really strange :(
|
|
|
Post by gwm0130 on May 5, 2020 19:26:54 GMT
I have the same issue. I commented them out for now.
|
|
|
Post by gwm0130 on May 5, 2020 19:56:37 GMT
This is how I did it until Invector provides guidance. I don't know how this will affect performance yet.
File: vAIMotor.cs
Line 726: Commented it out //onActiveRagdoll.Invoke(); Line 734: Commented it out //onActiveRagdoll.Invoke();
Line 1098: I put in the parameter "damage" From if (damage.activeRagdoll) onActiveRagdoll.Invoke(); I changed it to this to get it to compile if (damage.activeRagdoll) onActiveRagdoll.Invoke(damage);
|
|
|
Post by xianno on May 6, 2020 12:23:13 GMT
FSM will have an update this week, I hope it will fix this errors. Let's wait and see!
|
|
|
Post by gwm0130 on May 6, 2020 16:17:25 GMT
Excellent! Thanks for letting me know.
|
|