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
- Template is opened in Isolation when opening it in Context and users Save the UI Document when prompted to do so in UI Builder
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
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.