- Home /
How to import tree from blender?
I just used the "Sapling" addon in blender to create a tree, the problem is that when I import it, it doesn't show up when dragged into the scene. Anything else I import works fine, though. I imported the cube when you first start up blender, with absolutely no problem.
When you export the object from Blender are you making sure it's an FBX file? I'm not sure but the sapling add-on may export it in a different file type?
I have tried FBX and .blender; all unity does is say it is a "Tree Avatar"
Have you tried rendering the object before exporting it?
Answer by IKilledKenny_2 · Jan 15, 2014 at 04:46 PM
Umm have you tried selecting the tree and then when you go to export it into unity from blender and check the selected objects from the Export FBX tab?
Yes, someone already asked this in the comments of my question.
Answer by Deon-Cadme · Jan 16, 2014 at 12:23 AM
Blender:
Select the tree (all meshes if it is built in Blender by several meshes)
Choose to export as fbx
Make sure that:
"Selected Objects" is selected in Blenders export window.
"Include Default Take" is NOT selected in Blenders export window.
Unity:
Make sure that you got your model in the "Project" window.
The "Inspector" will preview your model if you select it in "Project" window.
If you cannot see the model, drag an instance of it out to your scene and then scale it up a lot.
If you can see the model after you have scaled it up enough, then select it in the "Project" window, choose the "Model" button in the "Inspector" and play with the "Scale Factor".
The model should be bigger the next time that you place it in the game world ;)
Common Problems that I have found while learning Blender the last few days is:
Blender and Unity got different scales on their 3D world grids.
Blender can occasionally have objects with negative scaling (these gets completely messed up in Unity) but this can be solved in Blender by pressing CTRL+A in object mode while the model is selected. Then Choose Apply Scaling from the popup window.
Many people, me included, fumbles around a bit with exporting while we are learning.
I did as you said, and I find that when I only select the leaves mesh, they export fine. It is the base that seems to cause the problem, it also throws several errors in Blender, in which I cannot seem to keep up long enough to read. This is progress! Thank you!
Have you tried converting the tree curve and leaves to mesh (Alt-C > $$anonymous$$esh from Curve/$$anonymous$$eta/Surf/Text) and joining them before exporting it?
That is really some progress :)
There is a trick to reading error messages in Blender. Go to the main menu in Blender and choose "Window -> Toggle System Console".
This will open the console, it normally gets hidden after the program is started. It looks like a (Dos) command prompt but do not close it, toggle it off again when you are finished with it or you will risk closing the whole program and loose unsaved progress.
Answer by Ziemelis · Jul 31, 2021 at 10:57 AM
In blender latest 2021 version : select the tree in object mode. Then press "object" next to the "add" button. In object section find "Convert" and then press mesh in convert tab. Tree is a curve but unity does not support curves. Doing this you turn curve into mesh. After all select your tree and export it to unity. I found this today(At 13 years old)(I don't speak English every day, so maybe I'm writing with mistakes)
Your answer
Follow this Question
Related Questions
how do i brush imported trees ? 1 Answer
How to use wind zones with imported trees from e.g. blender? 0 Answers
Blender 2.62 FBX not importing 2 Answers
Blender import warp 1 Answer