Terrain Size

I just finished the Lerpz tutorial and all went well. I created a new terrain in it just to get the feel for what size I would want on my new project.

I created a new project and created the terrain to the same size as in the Lerpz tutorial (roughly the square size of the whole levelgeometry) and it seems MUCH bigger. So I copied over the levelgeometry and inserted it and it is MUCH bigger in comparison. Any ideas why?

I’m just not clear on the question. Perhaps it’s due to scaling in the different projects? Perhaps you can be more specific about the actual numbers? Sorry if I’m being daft… :stuck_out_tongue:

In any case, I’m moving this to Support as this isn’t a GUI-related question. :slight_smile:

So where is the scaling set? It seems like that would be my issue.

For your terrain or for other models? For the terrain select the terrain game object then go to Terrain > Set Resolution… and you can set its size there. For other individual models or groups, select them and use the Inspector.

Look at the tutorial pic. This is from the completed tutorial zip. I added terrain and set the size.

Then, I created a new project, copied the assets folder over added the levelgeometry object, created terrian, and set its size.

Look at how much larger the terrain is. One thing to note, when zooming in on the geometry, when I get close, the zoom kind of jumps like the levelgeometry is at a much lower resolution in the new project than in the completed tutorial project. in the completed tutorial project I can zoom in real close and it is not jumpy.


Try looking at Terrain > Set Resolution in both projects and see if the values are the same.

I would suspect about the level geometry being scaled up in the original scene. I just cannot verify it right now, but it is worth to take a look.

+1, that was my point about looking at the scaling. That’s not typically done on the asset itself but the instance of it being used in the scene. As such, copying the assets to a new project will not generally bring over the scaling those assets used in the scene so you’ve not guaranteed yourself an identical set up.

And saltzmanjoelh, please do not post such large and blown-out screenshots as it breaks a nice forum layout. Trim the images to only contain what’s necessary, not your dock, other parts of the Unity UI we’re not discussing, etc. Thanks!

Tip: keep all included images roughly 900px wide or less.

for both responses: I did change the resolution. I put the resolution box in the bottom right for both pictures.
I there is no scaling, I selected the levelgeometry in both pictures, it is listed in the Inspector.

K. I will keep pics down in size next time. I just wanted to show all parts of the UI.

Its simple to got to this point if anybody wants to try it out. Download the completed project add terrain and adjust the size.

Create new project, copy assets over, add levelgeometry, create terrain, adjust size.

Check the individual level elements too. Just because there’s no scaling on the level game object overall doesn’t mean the separate items aren’t scaled. Either way in the end this is all a scaling issue so do a bit of digging and I’m sure you’ll find a scale setting that’s off between the two projects somewhere. :slight_smile:

OOOHHHH! I bet you’re right. I forgot to look at the individual items in it. THANKS! I will look now.

nada. I checked every part of every item and there only a few lights and cameras that have minor z scaling changed. Other than the fallout catcher.

So I exported the levelgeometry from the tutorial and imported into my project and it looks the way it should.

If I just copy the files over, they are small. I even put the export and copied assets on the scene next to each other and they are different visually but have all the same settings.

That last bit tells me that the import settings (another item in the Inspector, just not part of the transform itself) have the assets scaled. Manually copying the model files won’t capture that information either, but exporting/re-importing them as a package will.

Glad you got it sorted!