The DropdownList child gameobject under the Dropdown UI gameobject stops rendering to the screen UI if a NetworkIdentity component is added to it’s root Canvas. Any idea why but also, how do I get around this?
Not sure why that happens, but what I do is have my networked NetworkIdentity objects communicate with a non-networked Canvas. My canvas contains a bunch of singleton children.
Where the user is in the UI is something I want to network. That’s why I have the Canvas with a NetworkIdentity. Any ideas about a workaround?
If the Canvas does not work with NetworkIdentity then use a Canvas without a NetworkIdentity.
Then you can send information to/from the Canvas from your networked object.
For example what I do is when a Networked Monster is instantiated, it adds to the Canvas a GUI healthBar. Then constantly feeds health info to the health bar. When the monster is destroyed it removes the healthBar from the Canvas. The canvas is not networked, but it displays networked info contained in the monster’s NetworkBehaviour scripts.
Also you may want to bug report if you think it’s a bug.