Prefabs and scale

So if i scale something lets say 31 times in scene then make it a prefab will it be seen as that scale(31x) when put in a scene or will it have a scale of 1 unless rescaled? Basically does a prefab have a auto scale of 1 when put in game.

Why don’t you try it out and tell us? This would be a very easy thing to test.

3 Likes

Well i don’t mean visually i know it will appear in scene the size it was when prefabed. I mean how does unity view it in terms of scale. I always see that using diff scale models is a bad idea for performance so was wondering if a weirdly scaled object made into a prefab would be seen as weirdly scaled or treated as a scale of 1 unless rescaled in the project. I don’t know how u would test that.

Create a cube prefab with a non-zero scale, instantiate it at runtime and then look at the scale.

To save you the trouble, yes, the instantiated cube retains the prefabbed scale.

So having a prefab made of a poorly scaled model is not a good idea i guess:( oh well thx for the replies…

A general rule is to try to keep everything 1,1,1 scale. For many reasons, including to avoid batching and parenting issues.

yep thats why i was hoping a prefab is automatically treated as 1,1,1 scale when created would have made life a lot easier.