Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.4.0f3
Issue ID
821633
Regression
No
[DontDestroyOnLoad] OnSerialize is called on persistent NetworkBehaviours during scene change
Steps to reproduce:
1. Open attached project "OnSerializeOnSceneChange.zip"
2. Open scene "SceneStart" and run it
3. Start as host
4. Click "Enter Scene 1" this will load Scene1
5. Notice console output that OnSerialize is called
Reproduced with: 5.3.6p2, 5.4.0p1, 5.5.0a5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Add comment