Hi, when i disable output node/remove connection in my graph, mapmagic throws "Thread failed: System.NullReferenceException: Object reference not set to an instance of an object" , this always can reproduce when Function node used. when not use Function node, mapmagic do not throws, but it will not remove objects that pools.
after some dig, i found that data.area is null when clearing/generating , the only way to recover from this is start a fresh new generate, this make design graph so frustrating.
edit: seems this error only happens when Function node reads from tiledata
as i said, it happens when i disable node/remove connection in graph (make sure you have function nodes in graph), this is quit easy to reproduce, just like this:
https://forum.unity.com/attachments/upload_2023-5-31_16-45-11-png.1249903/