# Why does instanced static mesh shrink when rotated?

**URL:** <https://forums.unrealengine.com/t/why-does-instanced-static-mesh-shrink-when-rotated/380480>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, UE4, Blueprint, question\
**Created:** [December 30, 2016, 8:16am UTC](https://forums.unrealengine.com/t/why-does-instanced-static-mesh-shrink-when-rotated/380480 "2016-12-30T08:16:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_311cebd5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_311cebd5](https://forums.unrealengine.com/u/anonymous_user_311cebd5)\
**Post date:** [December 30, 2016, 8:16am UTC](https://forums.unrealengine.com/t/why-does-instanced-static-mesh-shrink-when-rotated/380480/1 "2016-12-30T08:16:39Z")

</div>

Hi,

I’m building a SIMPLE procedural city, when using ‘add static mesh component’ it works perfectly. When using ‘add instanced static mesh component’ if I rotate in the transform then the instanced mesh is slightly smaller than the original.

My city blocks are 50m x 50m (real world), and i have a selection of meshes that i put into the city spaced 50m apart. The origin of the meshes is 25m from the external edges. When i use ‘add instance’, there is a small gap around every single block. NOTE: I’m only using rotations of 90, 180 and 270. When i use Add static mesh component, there is no gap.

I can provide example meshes and code.

---

<div class="post-metadata">

**Author:** ![Corncutter](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Corncutter](https://forums.unrealengine.com/u/Corncutter)\
**Post date:** [April 3, 2017, 10:31am UTC](https://forums.unrealengine.com/t/why-does-instanced-static-mesh-shrink-when-rotated/380480/2 "2017-04-03T10:31:02Z")

</div>

No answer, yet? Because I just encountered the same problem and I was glad when I found out that someone already asked the exact question - just to see that there is no answer ☹  
Did you find an explanation or a soultion yourself, xykevinr?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_311cebd5](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_311cebd5](https://forums.unrealengine.com/u/anonymous_user_311cebd5)\
**Post date:** [April 3, 2017, 2:28pm UTC](https://forums.unrealengine.com/t/why-does-instanced-static-mesh-shrink-when-rotated/380480/3 "2017-04-03T14:28:53Z")

</div>

Sorry mate, nothing. My solution was to stop using instanced static meshes for the particular job and use normal static meshes.

---

<div class="post-metadata">

**Author:** ![thejturner](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@thejturner](https://forums.unrealengine.com/u/thejturner)\
**Post date:** [October 11, 2019, 12:44pm UTC](https://forums.unrealengine.com/t/why-does-instanced-static-mesh-shrink-when-rotated/380480/4 "2019-10-11T12:44:58Z")

</div>

Just adding to this to note that the issue persists in UE4 4.22. I’m having the same issue with a simple instanced 2d tiling grid. If I rotate the instances, 90 degrees on the Z axis for example, it seems to cause a .0001 & shrinkage and you can see noticeable gaps in what should be a seamless tile. This issue does not occur when I use static meshes.

I found this related bug report (UE-17458) but will make a fresh one just in case.

My messy workaround is to automatically add .0001 to the scale if the instance is rotated.
