- Home /
Question by
stephanrmiller · Feb 08, 2012 at 07:10 PM ·
editorserverstandaloneclientviewid
ViewId is different in Unity editor than it is stand-alone
(Using Unity 3.5.0b6) In a client/server game, I have the server send the client an RPC to load the level. When I use 2 stand-alone builds, it works perfectly. But when I want the server or client to run in the Unity editor so I can debug better, the ViewId on the local game is 0, while the stand alone version ends up being 1, so I get an error on all RPCs. Is this a bug with the new version? Is there something I could be doing wrong? Is there a way to manually sync the view IDs?
Comment
This is also happening for me. All I can guess it that the viewIDs are being allocated in a different order in the editor than they are in the standalone? (before hitting play the viewIDs are as expected, once hitting play they are reallocated)