Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

UNetWeaver error: Exception :System.InvalidCastException: Cannot cast from source type to destinatio

$
0
0
Hello. Sorry for english mistakes :

I had a code working quite properly with unity 5.1.1f1
I just install the patch 5.1.2p1

Then, I have that error :

Code (CSharp):
  1. UNetWeaver error: SyncVar [System.Int32[] tableaux::TableauChoixOP] cannot be an array. Use a SyncList instead.
The problem is obviously in a line where I had written that :

Code (CSharp):
  1. [SyncVar] public int[] TableauChoixOP = new int[256];
So I am googling the problem, as I am quite a begginer in Game...

UNetWeaver error: Exception :System.InvalidCastException: Cannot cast from source type to destinatio

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>