So I have been facing a problem.
CUrrently I am following the survival shooter tutorial but whenever I test the shooting of the weapon unity throws this:
Method call failed (UnityEngine.LineRenderer): SetPosition
Exception has been thrown by the target of an invocation.
and nothing else seems to happen,I am running unity 2021.3.11f1
Make sure your Call Function node is set up correctly.
Also, check the Line Renderer component you're using, it should have 2 positions added.
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!