Instanced Static Mesh gets scaled.
So, I added a InstancedStaticMesh(ISM) component in a BluePrint(BP). Then I added four of them using a for loop and Add Instance node, in a "circle". But to my "horror" all but every fourth, including the first, instance gets scaled about 0.0005(what it looks visually) on X and Y axis.
So first I of course thought that it was just the mesh that was wrong, and went and checked, sure it was off a little bit, but not this much. But I fixed it anyway, making sure it was on the right place down to the max zoom I could get in the 3D app. No change. And if I add the mesh manually, IE not as ISM, it works perfectly.
Even tried with a new mesh, a perfect box moved so its corner was at the pivot, no change, same problem with ISM. Tried another version of the Engine.
Went on Discord and we went trough it thoroughly but others got the same error.
So I am guessing its a bug, maybe some float error, or memory thing. We tried to check the transformation of the Instances after creation, but they checked out just normal.
So, the first Instance gets the right scale, same with every fourth, I guess that it works as long as it has the same rotation as the original, but all other is a bit off.
Thank you for your report. Another user reported an issue related to this about a week ago and I entered a bug report for that which you can find here: UE-40476 Unfortunately, despite this issue's prevalence, it's been decided that we do not have the resources to work on this at the moment. I can say that the original scaling issue you reported should be able to be fixed by using higher values of the same rotation, such as using 540 in place of 180.
answered Jan 20 '17 at 03:28 PM
Matthew J ♦♦ STAFF
Hello Unreal Dev team.
Two years have past since this problem was found, and a year since last update. Any fix in sight yet?
I think that quite a few people might have to find other solutions than using (H)ISM for reducing draw calls on big scenes with many similar tiling objects. Just as in my original case. Would love to be able to use this.
answered Dec 29 '18 at 04:52 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here