Hi all. I downloaded new 2017.1 as upgrade from old 5.6.2 but not instantiate don’t work.
These lines :
blast = Resources.Load("Effects/BulletBlast",typeof(GameObject)) as GameObject;
Instantiate(blast,transform.position,transform.rotation);
Do nothing… but these lines :
part = Resources.Load("Effects/BrickExplosion",typeof(GameObject)) as GameObject;
Instantiate(part,transform.position,part.transform.rotation);
works only partially because only child object is instantiated… at end these lines :
tank = Resources.Load("Tanks/Player1Tank",typeof(GameObject)) as GameObject;
pos = player1spawnpoint;
Instantiate(tank,pos,tank.transform.rotation);
works fine… i really have no idea what the heck happened but i like to solve it