Jump to content
  • Advertisement
Sign in to follow this  
Florian22222

Unity Multiplayer-FPS issue

This topic is 2492 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi!

I am currently diving into unity. So I tried to make an fps. But I have a huge problem.
Currently I have:
A player prefab is instantiated by a spawnpoint script everytime a player joins with Network.Instantiate().
Every playerPrefab has its own camera which is only activated for the owner.

The problem is that the second one that connects to the server cant see the first one, and so I am getting this error:

View ID AllocatedID: 1 not found during lookup. Strange behaviour may occur
Received state update for view id' AllocatedID: 1' but the NetworkView doesn't exist


Maybe it´s a problem because of the cameras.

Does anyone have a solution?

Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!