Search Issue Tracker

Fixed in 5.4.0

Votes

1

Found in

5.4.0b1

Issue ID

755355

Regression

Yes

Regression: "Unexpected recursive serialization of MonoBehaviour." when Build project with Networking for Standalone player

Serialization

-

Regression - this happening only on 5.4.0b1, but not in 5.4.0a6
It happens when there is NetworkManager and Player prefab with NetworkIdentity in the scene and you set this PlayerPrefab to the slot in NetworkManager

How we can reproduce it using the example you attached
1 Open attached project
2 Build it for Standalone (or Build and Run)
Actual result: there are 2 errors appear in Console:
"Unexpected recursive serialization of MonoBehaviour.
UnityEditor.HostView:OnGUI()
"
"Unexpected MonoBehaviour being transferred.
UnityEditor.HostView:OnGUI()
"

Comments (2)

  1. StartStart

    Jan 19, 2016 07:11

    Me happened this too.

  2. DylanF

    Jan 18, 2016 22:01

    I'm getting these same errors during build with 5.0.4b2, but I don't use NetworkManager or NetworkIdentity.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.