NetworkBehaviourInspector had no target object

For some reason “NetworkBehaviourInspector had no target object” warning pops up and the unitSpwanner does not spwan Units and I am stuck on 15th lecture. Please Help!

Did you forget to wire something up in the inspector?

I dont think so. I have rechecked everything. I tried copying the exact code that was given in github that also did not work.

I actually found the solution. Instead of adding physics raycaster I added physics raycasted 2D. I feel so stupid.

1 Like

me too @_@

Privacy & Terms