"failed to spawn server object" error.

I did the Unity Networking Tutorial at https://unity3d.com/learn/tutorials/s/multiplayer-networking, then added the Network Lobby from the Unity Technologies assets.

However, after setting up the asset, the bullets are not shown on the client side. I also get a "Failed to spawn server object, did you forget to add it to the Network Manager?" error on the client side.

I added the bullets to the network manager and it still doesn’t work.

Any help is appreciated.

Here is the link to the game

Okay, I found my answer. After doing some digging I found out that you have to register the prefabs in the lobby manager.

Here is the original answer.