gameobject goes missing

Here is the scenario (Unity 5.5f1 64bit):

Objective: I am trying to simulate a throwing effect

  1. A script spawns a bunch of cubes.
  2. I click a cube and it is positioned at a default position (transform.translate in Update()). isKinematic is false as the cube is positioned above the ground.
  3. I click a sphere to trigger an explosion that hurtles the cube. isKinemetic set to true.
  4. I find the same cube and click the cube but instead of going its default position, it disappears
  5. I click the sphere and I unsurprisingly get null exception, object is destroyed
  6. I click another cube and it works fine

problem: I cant throw cubes that have already been thrown.

What am I doing wrong? Is this a bug? is there a fix?

Use prefabs instead of singular objects. I can’t really explain but see this tutorial series on youtube: Unity 3d: Simple First-Person Shooter Tutorial - Part 1 - YouTube

Declaring the cubes as static solved the problem.