- Home /
Help! I've sprung a (mesh) leak!
So, I've written myself a script for resizing meshes in the editor. It allows me to resize a mesh and its collider simultaneously whether the collider is a box or another mesh. It's quite handy. The primary usecase is allowing me to resize beveled blocks without distorting the bevel radii the way a straight up scale would. Well, here's the problem, I get errors like these when I save my scenes which contain such resized objects:
Cleaning up leaked objects in scene since no game object, component or manager is referencing them Mesh has been leaked 1839 times. Mesh Instance has been leaked 5 times. Mesh Block_Resizeable_Mesh Instance has been leaked 9 times
Does anyone know what I should be doing differently in order to stop "leaking meshes"
Thanks in advance!
Answer by Rahul Corleone · Jun 25, 2016 at 07:44 PM
Check this page friend
http://juhakiili.com/blog/unity-editor-scripting-mesh-leakage/
Your answer
Follow this Question
Related Questions
How to find and manipulate a line on a mesh? 0 Answers
Merging meshes 0 Answers
How to break up one mesh into submeshes by connected vertices? 1 Answer
Generate Polygons and Colliders Runtime in 2D Game 0 Answers
Is it possible to make vertices defined by a mesh and mesh filters animating? 0 Answers