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()
"
Comments (2)
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
- API Updater strips Unity-owned Custom Attribute references within precompiled DLLs
- [iOS] ListView is flickering when scrolling over the end
- The Aspect Ratio Fitter Component on a Prefab displays a parent-related warning despite the Prefab's inability to have parents when "Envelope Parent" or "Fit In Parent" modes are used
- HDRP Color Picker preview rectangle doesn’t update when adjusting colors for Camera Background Type Color
- Progress indicator in Meta Quest Build Profile configuration is barely visible
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.