- Home /
The question is answered, right answer was accepted
How do I get SpeedTree models to work properly?
I have just purchased a SpeedTree model from the SpeedTree store and imported it into Unity Pro 5 (most recent version). However, the billboards aren't showing and transparency only works on some models and not others. The built-in sample SpeedTree works fine (the one you can see in the background). Has anyone run into this problem? Or, is it a bug with Unity?
This would be a big problem for me as the SpeedTree integration was one of the main reasons I went with Unity.
A little bit of an advance!
I found that on importing the SpeedTree, Unity doesn't seem to recognize the associated atlas textures, which therefore don't get imported along with the ".spm" file. I imported them manually and then connected each one of the materials with the relevant atlas texture. This seems to fix the problem (at least for the first tree that I've tried).
Although this is a workaround, it will be pretty tedious to do this with all of the SpeedTree models that I want to import (dozens, each with multiple textures). So I'm still keen to hear from anyone who has a 'proper' fix for this issue.
Answer by SpeedTree · Mar 30, 2015 at 03:02 PM
Hi there,
If you downloaded the trees from our store (not from the Unity Asset Store), you need to place the folder with the tree into your project's Asset folder outside of Unity. You could just unzip the file you downloaded from our store directly to your Unity project's Asset folder. Using the import option within Unity will not import SpeedTrees correctly. Take a look at the following documentation for further details: http://docs.speedtree.com/doku.php?id=importing_models_into_unity
Regards
That works perfectly, thanks very much. This was a case of "galloping assumptions" on my part. I had assumed that Unity would behave like other situations in which I've used SpeedTree (in those case, just the "spm" file needed to be imported).
Follow this Question
Related Questions
Tree generation/animation software recommendation 2 Answers
LWRP and Trees 0 Answers
How to assign own billboard to trees 1 Answer
Terrain Tree Billboard have bright outline against dark background 6 Answers