Search Issue Tracker
By Design
Votes
0
Found in
5.3.0f2
Issue ID
749402
Regression
Yes
[NetworkBehaviour] Failure generating network code and errors in console
To reproduce:
1. Open attached project
2. Open Console window
3. Observe errors: "UNetWeaver error: NetworkBehaviour BaseNetworkBehavior`1 cannot have generic parameters" and "Failure generating network code.
UnityEditor.Scripting.Serialization.Weaver:WeaveUnetFromEditor(String, String, String, String, Boolean)"
Expected behavior: no errors, ability to play scene
Actual behavior: errors in console
Note: there errors can be cleared from console, but scene still cannot be played
Workaround: delete every file that has BaseNetworkBehavior in its name.
Reproducible with: 5.3.0b4, 5.3.0f2, 5.3.0f3, 5.4.0a4
Not reproducible with: 5.1.3p3, 5.2.3p1, 5.3.0b2, 5.3.0b3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader error in 'Shader Graphs/Master': invalid subscript 'texCoord6' at /(243) (on d3d11)" error thrown when UV2-UV7 is connected to Base Color In Fullscreen Shader Graph
- [Linux] Navigating Prefab Components in Overrides window shows rendering artifacts in the Editor
- Prefab Overrides window cuts-off Component labels across multiple Components
- Opening Memory Settings documentation from Project Settings window opens missing page
- Animated GameObjects ignore Shader keywords when running on VisionOS Player with Polyspatial
Add comment