x


Base map problem when loading terrains from asset bundles in build.

Hi everyone, I'm bumping into problems when loading terrains from asset bundles. These problems are related to these questions Terrain Grass and Asset Bundles, Modifying Terrain Splat.

Concretely, when I load the terrains, I get this error :"Failed to get pixels of splat texture". Then in the distance, all my terrains are black. When I raise the base map distance, the textures are correctly set. Clearly the problem comes from the fact Unity tries to create the base map but the splat textures are not created already. Anyone got clues about this ?

more ▼

asked Dec 03 '10 at 05:45 PM

Ludovic gravatar image

Ludovic
92 17 18 26

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

I guess you've already figured this out, but it might be useful for others.

I just came over this as I had the same problem. It seems that you need to set "Read/Write enabled" to true on all textures used by the terrains that are loaded.

more ▼

answered Oct 24 '11 at 07:37 AM

Slem gravatar image

Slem
181 5

(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:

x1521
x397
x22

asked: Dec 03 '10 at 05:45 PM

Seen: 1403 times

Last Updated: Oct 24 '11 at 07:37 AM