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
- SystemInfo.get_graphicsDeviceName() is generating garbage GC Alloc when using Metal graphics API
- Crash on D3D12CommonShader::ApplyGpuProgram when attaching material which samples "_UnityFBInput0" to "Full Screen Pass Renderer Feature" Component
- SpeedTree meshes and objects count differs when comparing the numbers in the Player with the Editor
- Model and Prefab Preview icons are not updated after upgrading associated Materials to URP
- Game view is rendered white when viewing the Editor with HDR display and Post Proccesing is enabled on the Main Camera with 2D URP
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.