x


Terrain Grass and Asset Bundles

We have a terrain that has some grass painted onto it using the foliage brush tools. The grass shows up alright in the editor. However, it never shows up in the compiled version of our application. Instead I see the following error message multiple times:

"Failed to get pixels of splat texture"

The texture splats for the main terrain textures show up correctly. However, the grass never is rendered. Note that the terrain and it's textures are stored in an asset bundle.

more ▼

asked Oct 26 '10 at 07:20 PM

Bill gravatar image

Bill
311 20 24 36

We quite have a similar problem here.The difference is we put the textures in a shared asset bundle and the terrain asset directly in the scene asset bundle. When we load the scene additively, we get the same error, though it's about the textures splat map.

One thing that should be pointed is when we call the LoadAll method on the scene asset bundle, the returned Object array is empty.

Nov 26 '10 at 11:07 AM Ludovic

Hi. Bill. Did you solve? I have same problem.

Jun 03 '12 at 09:20 AM sujinlab
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I've just had similar problem with procedural terrain generation: "Failed to get pixels of splat texture" and no grass.

The solution is to check the "Read/Write Enable" box in import settings for all textures used for terrain AND details. I don't understand why it works that way, but it does work.

more ▼

answered Jan 02 '11 at 06:36 PM

Nevermind gravatar image

Nevermind
16 1 1 3

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1469
x382
x109

asked: Oct 26 '10 at 07:20 PM

Seen: 2058 times

Last Updated: Jun 03 '12 at 09:20 AM