6 cubes not dropping into "Path" Name

When I try drop the cubes (6 of them) onto the “path” variable in the inspector, only the first cube (0,0) is accepted. The code is exactly the same as Ben wrote, but path is not accepting 6 blocks at once. It is also not accepting more than 1 block. What am I doing wrong?

1 Like

Never mind…for some reason unkown, the “Block” script was present on the first block cube, and the prefab block cube, but did not show up on the remaining 5 cubes. Removed all but the first cube, and did it again…this time the “block” script is now on all cubes, and dropping all 6 cubes onto variable “path” now works.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.