Search Issue Tracker

Fixed in 5.5.0

Votes

0

Found in

5.4.0b6

Issue ID

770215

Regression

No

NetworkAnimator component gives NullRefExeption for non-player spawnable objects

Networking

-

What happened
Specific of this bug:
- on NetworkIdentity for spawnable prefab we do NOT set "LocalPlayerAuthority"
- use NetworkServer.Spawn(Obj) to spawn object

How we can reproduce it using the example you attached
- please see attached video
1 Open attached project
2 Build and Run standalone
3 Start Server in Editor
4 Start Client in Standalone and press "Space" - the character with red gun should appear
Actual result: NullRefExeption error appears in Console

Add comment

Log in to post comment