- Home /
raycasting prefab instances
Hello i have a imported a new asset and have created 10 Instances of it in my world but whenever i raycast the instances i never get any results... also it seems that all 10 instances have the same collider object
if i manually create 10 cubes using GameObject.CreatePrimitive then raycast works fine
Does anyone know what can i do to get proper collision for prefab instances??
It's not. I have been having a similiar problem with colliders on my instantiated prefabs here: http://answers.unity3d.com/questions/52576/instantiated-prefab-click-script-running-on-all-instances
Your answer
![](https://koobas.hobune.stream/wayback/20220613124549im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Clicking one prefab effects them all. 2 Answers
How do I re-link an object that has unintentionally become detached from prefab? 0 Answers
Script uses transform.position of Prefab instead of Instance 1 Answer
Destroy an instance of a prefab 1 Answer
How to destroy a game object within an instance of prefab 1 Answer