Accessing array<Class> immediately after successful synchronization of the client with the server:
for(int i =0;i<k_clan.Count();i++) // normal.
{
Print("/////////" +array_name.Get(i).data_name); // normal.
anyfunction(array_name.Get(i).data_name) // "NULL pointer to instance when trying to access variable "data_name" (Parent instance is null)"
Class obj = array_name.Get(i) // crash client
Class obj = Class.Cast(array_name.Get(i)) // normal
any use: obj.data_name // "NULL pointer to instance when trying to access variable "data_name" (Parent instance is null)"
}
Everything is working fine from the server side.