Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Anonymous's avatar
Anonymous
11 years ago

Unity and Blender troubles...

Hi,

I have modelled my own house in Blender, complete with all rooms and using photos to make accurate textures. I want to use this model in Unity to walk around in my own virtual house.
However, I'm having a few problems.
Whenever I export my model and import it into Unity, all textures are gone. I've tried to export to several different formats but the problem persist. I have also tried to reapply the texture from inside Unity but that does'nt work either.

Second problem is when I walk around my virtual house, I can walk through all the walls and furnitures. I know that Unity supports several types of colliders, but do I have to make a collider for each and every wall and object to do this?

I'm using Unity free v 4.3.3 and Blender v2.69

Thanks in advance. ;)

4 Replies

Replies have been turned off for this discussion
  • Lane's avatar
    Lane
    Honored Guest
    You have to go to the Materials that were auto-created when you imported the FBX and add the textures to those materials manually. Textures you have to import separately so it is not intuitively implied when it creates the materials.

    You have to create individual box colliders for all of the walls and stairs. You could use a mesh for it, but you might have to set it to concave and that makes it expensive and has max polycounts and such.
  • Anonymous's avatar
    Anonymous
    Thank you for your reply, but I'm still not having any luck with the textures.
    I have exported my model to fbx again and imported it in Unity. Then I created a new material in Unity using a simple brick texture. When I apply this material to the model it turns all red (same color as the bricks).
    If I create a simple cube in Unity with the same size as my model, and add the brick material it looks just fine. :?
  • Lane's avatar
    Lane
    Honored Guest
    Are you exporting UV's from Blender?

    Also check your Import settings on the fbx in Unity and make sure you aren't failing to import the UV's there either.
  • Anonymous's avatar
    Anonymous
    OK, got it working now. I've never used UV mapping before in blender, but it seems to work. Textures look a little funny, but I guess I can tweak it.
    Thanks for your help :)