(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 :)
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
2 People are following this question.
The name 'Joystick' does not denote a valid type ('not found')
Prefab animation only plays on first instance
Issues with tracking prefab instances and gameobject naming (JS)
Multiple lightmaps / 1 scene
How to create prefabs from Editor scripts?