- Home /
Unsupported enum type UnityEngine.Networking.Types.NetworkID
So I keep getting this error
Unsupported enum type 'System.Collections.Generic.List' used for field 'games' in class 'RemoteGames'
functionally all of my code appears to be working correctly but this error is getting me down :( Why is this occurring? Here's the code that appears to be generating that error
public List<NetworkID> games = new List<NetworkID>();
foreach (MatchDesc match in matches.matches) {
if (!games.Contains(match.networkId)) {
games.Add(match.networkId);
SetupGame(match);
}
}
What is unsupported about that? It certainly appears to function...
Answer by Bonfire-Boy · Oct 30, 2015 at 09:54 AM
According to this it's a known bug http://forum.unity3d.com/threads/unsupported-enum-type-unityengine-networking-types-networkid.359462/
You might as well add that as an answer so I can accept it! Thanks!
Your answer
Follow this Question
Related Questions
Stuck on ConnectingToNameServer 0 Answers
modernized master server script? 1 Answer
In unity3d client “push” an object with a rigidbody2d slower than the host 0 Answers
Since switching to using offline & online scenes in the NetworkManager, Clients will not sync (UNET) 0 Answers
Client disconnect due to error 0 Answers