Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b1
Issue ID
756670
Regression
No
[UNET] Adding the exceptional config to HostTopology causes a program's crash when manager adds a host
1. Open attached soultion
2. Run ChatServer.exe
==>
Program crashes
What is going on inside:
If HostTopology has a special connection config added then a code in NetLibManager invokes
public HostTopologyInternal(HostTopology topology) { ... } and this invokes next function with "i=0"
public ConnectionConfig GetSpecialConnectionConfig(int i)
{
if (i > m_SpecialConnections.Count || i == 0)
throw new ArgumentException("special configuration index is out of valid range");
return m_SpecialConnections[i - 1];
}
This causes an exception to be thrown.
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