Search Issue Tracker
Fixed in 5.3.0
Votes
2
Found in
5.2.1p3
Issue ID
735015
Regression
No
Derived NetworkManager with Awake method breaks NetworkManager if loading scenes
Steps to reproduce:
1. Open attached project
2. Open NetworkTestWorking scene and play
3. Host and observe everything happening as expected
4. Open NetworkTestBroken scene
5. Play and observe that OnClientConnect callback never fires
The only difference between the scenes is NetManager and NetManagerBroken scripts. NetManagerBroken includes an empty private Awake() method.
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
EpicPandaGamer25
Mar 24, 2017 21:42
This is still broken for me on Unity 5.5.1f
Jolinah
Oct 18, 2015 19:36
This is a little workaround that uses .NET reflection:
System.Type type = typeof(NetworkManager);
var baseMethod = type.GetMethod("Awake", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.NonPublic);
if (baseMethod != null) baseMethod.Invoke(this, null);