Search Issue Tracker
Fixed in 2017.3.0f3
Votes
0
Found in
2017.1.0p2
Issue ID
942006
Regression
Yes
Stuck on compiling when class inherits a NetworkBehaviour class
Steps to reproduce:
1. Open user attached project
2. Open ExtendsNetworkBehaviourClass.cs script
3. Uncomment.the line SyncListBool bob = new SyncListBool();
4. Save the script
5. Switch back to Unity and notice it freezing in the middle of compilation
Expected result: the script should compile
Reproduced in: 2017.3.0a4, 2017.2.0b7, 2017.1.0a5
Not reproduced in: 2017.1.0a4, 5.6.3f1
Regression since: 2017.1.0a5
Comments (1)
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
- Flickering bright white dots in the Scene when the Android Platform is selected and DX11 Graphics API is used with Iris(R) Xe Graphics GPU
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- WebGL sends wrong value with large numbers when SendMessage function is used
Bailywick
Oct 09, 2017 12:57
For anyone else encountering this:
This affects 2017.1.1f1
It occurs for any kind of sync list as far as I can tell (SyncListBool SyncListInt, SyncListStruct etc).
It only occurs if the class is not directly descended from UnityNetworkBehaviour.
e.g.
class CustomBehaviour : NetworkBehaviour
{
private SyncListBool syncList; //this will work
}
class HangBehaviour: CustomBehaviour
{
private SyncListBool hangList; //this line will cause the hang
}
I've worked around it locally by moving the SyncList declarations into base class and then only setting them up the classes that use them - not ideal but it works till a fix is released.