- Home /
Unity does not recognize terrain file when it is moved between computers
When moving the terrain prefab or the terrain file itself between our working computers, Unity refuses to recognize the terrain file. It just sets the thumbnail to a blank piece of paper instead of the terrain icon. And dragging it into the scene or assigning it to a terrain component is not possible.
We have tried to move the file between us in every way we could come up with, with the same result.
Curiously, I have been able to move a terrain file from one project to another on this computer, but not between computers.
PS: I don't think it is the cause of the problem, but our misuse GitHub has messed with a lot of "system files" in our project(eg. Assembly-CSharp-vs.csproj).
I just ran into the same problem. Did you find a solution for this?
you could try exporting it as a unity package and see if that works. If it does, you could use this trick to extract the contents of the unity package to see what was necessary to get this working:
Thanks for the tips. I ended up redoing the terrain with reduced resolution, saving some 500k triangles. So I guess I made the best out of it haha =D
Btw, the root cause (as far as i can tell) was a git checkout causing a weird reimport.
$$anonymous$$y $$anonymous$$m had this problem multiple times. We couldn´t figure out a solution, but we´ve developed a workaround, which might come in handy. We simple stored the terrain asset in a Cloud and updated it each time somebody made changes on the terrain. So when git destroyed the file again, we could replace the broken file with the copy in the cloud.
Your answer
Follow this Question
Related Questions
FBX animation import missing baked poses in 2017 0 Answers
Collider problems 3 Answers
Multiple animated armature import from blender 0 Answers
Import package is empty 2 Answers
Import GIS raster into Unity as terrain 2 Answers