- Home /
How do I fix an error when importing a heightmap?
Hi I created a heightmap (raw) in World Builder, and when I try to import it I get this strange error: ArgumentException: Destination array is not long enough to copy all the items in the collection. Check array index and length.
And it will not build my terrain the whole error is like 20 lines so I will not post it here. The map resolution is 512x512. Any help would be appreciated. I have the latest version of unity too.
Is a Unity importer error, or you have some script trying to process the heightmap? Can you send the raw file to test it myself?
Answer by tanoshimi · Jan 08, 2014 at 03:39 PM
RAW Terrain heightmaps must have dimensions of powers of two + 1. Change your map size to 513x513.
Your answer
Follow this Question
Related Questions
Being Spammed With Error Messages About GiCache 0 Answers
Problem launching Built game "d3d12.dll caused an Access Violation (0xc0000005)" 0 Answers
why heightmap flips in terrain import raw(certain case)? 0 Answers
Problem with attaching scripts to objects 1 Answer
Unable to convert classes to dex format GoogleMobileAds SDK conflicting Facebook SDK 0 Answers