Sign in to follow this  
Florian22222

Unity Multiplayer-FPS issue

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:
[CODE]
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
[/CODE]

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this