x


Before updating to Windows 10 you may need to return your Pro license. More information here

Prefab Instances all have separate Scales?

Hey all,

(sorry if this is long, but it's a weird problem)

I have a prefab (let's call it GrassBlock), which is a modular piece for creating levels. In my game, a lot of these are assembled together to make levels. I put together a bunch of these blocks to form a play area, and everything seemed to work. After I upgraded form Unity 3.1 to 3.4, I noticed that the scale of each instance of the GrassBlock prefab has a slight deviation from the standard (i.e., 1.00000001, 1.0003,1.00000002 instead of 1). I tried applying a new scale to to the prefab, but nothing happened. I also tried reverting each to the default value, but that have no effect as well. I care about this because Unity is rendering each block on a separate draw call (due to the scale), and due to the sheer amount, the framerate suffers tremendously.

My question is: How can I get all of these instances to be a standard size?

Thanks in advance :)

more ▼

asked Oct 05, 2011 at 01:18 AM

avatar image

theRaddRedd
1 6 4 4

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

0 answers: sort voted first
Be the first one to answer this question
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:

x2528
x976
x831
x400

asked: Oct 05, 2011 at 01:18 AM

Seen: 1740 times

Last Updated: Oct 05, 2011 at 01:18 AM