JarkkoPar / Utility_AI_GDExtension

This repository contains the binaries and example project for the Utility AI GDExtension.
MIT License
72 stars 2 forks source link

signal connect disconnect error when queue node in a certain order #4

Closed engimaxp closed 8 months ago

engimaxp commented 9 months ago

it may not be a problem, there is a work around now if you put area2d under the ai node ,when the node is queued free ,godot first queue free the area2d node ,then the utilityai node the utilityai node deconstruct method will try to disconnect area2d signals and fail to fix this ,try put the area2d node above the utilityai node, then it will work smoothly

2023-11-29_19-21 2023-11-29_19-22 2023-11-29_19-20

great work bro

engimaxp commented 9 months ago

reproduced in 4.1.3stable

JarkkoPar commented 9 months ago

Thank you for reporting this! I've made a fix and at least in my initial tests it seems to be working correctly. I had the same issue with the Visibility sensors as well, so the impact was greater than just the Area2DSearchSpace.