Low Framerate on Unet Sharing
Hey Devs, i'm trying to build a multiplayer HoloLens game and have following problem:
I want both players to be able to see each other (having a small cube on the head which moves with the players)
Here is what i did so far:
Created a player prefab which is a small cube with a playercontroller script. The script puts the position of the cube to the main cameras position (the Hololens)
Added a NetworkIdentity and NetworkTransform to the player prefab
The player now gets spawned when i create/join the server and puts the cube on the hololens position. However the hololgrams get extremely shaky and it just feels like it's running on 1fps. (Maybe i can change some settings on the NetworkTransform)
Here my setup:
As MRTK basis i have the Holograms250 project (this seemed to be the only one which works with unet sharing)
Visual Studio 2017
I thought of putting the cube directly to the Hololens camera and adding the NetworkID and NetworkTransform but then i couldn't create/join the server since the HoloCamera only gets spawned after creating the server.
Would be super cool if someone has an idea how to get it stable.
P.S. Sorry for any mistakes/bad grammar. I'm participating on the global game jam and i'm sleep deprived