- Home /
Model not shown when root outside screen
I've hit a weird case with animated models in Unity.
If an imported model's root is outside the camera's viewing angle, the entire model is not shown. As soon as any camera (including the editor's scene window) looks at the root, the model is rendered.
How can I fix this issue?
Answer by benni05 · Mar 06, 2014 at 09:58 AM
Check your Culling Mask settings of the (or all) cameras and make sure that they will render (include) the layer that is set in ALL of your models Transforms (the whole Transform tree of your model). A model can consist of several transforms (i.e. if you have a bone structure) and they should all be set to the layer that will be rendererd by the camera(s).
I had the same problem for a hat model that has a bone structure of a complete human rig, as soon as the pivot (not root) of the rig goes outside of the camera's viewport, the model becomes invisible even though the renderer is still enabled. This happens for both the editor camera and the in-game camera.
I changed the culling to it shows eerything, but it still doesn't work.
Also, why is the answer flagged as accepted?
Your answer
Follow this Question
Related Questions
MMD How to export model and animations to Unity as 3rd person controller? 2 Answers
Floor - aliasing 0 Answers
Game Object Rendering Isuues 1 Answer
Line Drawing Issue in 3D Environment 0 Answers
Camera issue? Random Lines in Model 2 Answers