Memory Leak when scale of SetRelativeTransform is zero
I discovered a memory leak, when I scale an object to zero in one or more dimensions using SetRelativeTransform. In the screenshot I show the blueprint where the problem occurred. This is a blueprint of an actor, which contains many dynamically created plane meshes. As a demonstration I set the scale to a fix value of (1,0,1), but actually the value was calculated. I now prevent this problem by adding the macro MaxVector as can be seen in the screenshot. But this should not be necessary. Eventhough scaling to size 0, may seem pointless, it should not lead to a bug. It can even have valid applications if you only scale in 1 dimension, so to make something flat (3D to 2D). It should certainly not lead to a memory leak. In my case the plane was scaled in its height, so only a line would be the result.
The memory leak manifested itself quite severe in my case, increasing usage with about 50 MB/second. (256 items updated at 30FPS, would lead to ~8000 updates/second, so around a 5 kB leak per call.
The object being scaled is a MeshComponent Reference.
asked Aug 18 '16 at 05:14 PM in Bug Reports
Thank you for submitting a bug report. I have reproduced this issue and logged a report for it here. You can track the report's status as the issue is reviewed by our development staff.
answered Aug 30 '16 at 02:00 PM
We have not heard from you in several days. I am marking this as answered for tracking purposes. If you are still experiencing this error, please comment with the requested information.
answered Aug 22 '16 at 01:29 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here