Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Editor crash when checking isServer in property

$
0
0
I appears to get a 100% crash when attempting the access the getter of the following property. private int localPoints; [SyncVar(hook="CallbackSyncPoints")] private int serverPoints; public int Points { get { return (isServer) ? serverPoints : localPoints; } set { if (isServer) { serverPoints = value; if (serverPoints > maxPoints) serverPoints = maxPoints; } else { localPoints = value; if (localPoints > maxPoints) localPoints = maxPoints; } } } Is this something that is known or should I be submitting a bug report?

Viewing all articles
Browse latest Browse all 2383

Trending Articles