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
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()
"
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [macOS] Display flickers with bright colors when built Player uses 2 or more Displays
- Serialized field is indented too much in the Inspector when CustomEditor is used
- The third and later list elements are displayed incorrectly when they are expanded
- Script error is thrown when using a method named Update with parameters in the script that inherits from a ScriptableObject class
- UI system does not register a MouseDownEvent event when clicking on the Value attributes of the TextField
StartStart
Jan 19, 2016 07:11
Me happened this too.
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.