[SUPPORT] Advanced Turn Based Tile Toolkit

Hello @

It Seems like there is a minor error in your project regarding waking units that I was wondering if you can help me with some insight on where it is actually happening and maybe how to fix it. Its nothing major, but would like to remove it as it is annoying to see haha.

So this error happens if you one shot someone before they wake from the player. What seems to happen is that the enemy tries to wake itself, but since its destroyed, it has no reference to the enemy and some errors appear. The “!” still appears over where the enemy use to be and the sound goes off, but once I stop the project, that is when all the errors appear.

It looks like somehow the find wake units get called before the enemy is destroyed, so it is stored in the wake units array, but when it comes time to actually wake the reference is change to null because it was destroyed. I just can’t seem to pin down when it actually happend because sometimes the debugger on blueprints seems to not work and I can not see when things get called even though I know they do at some point (Debugger just completely skips and does not stop at breakpoint). I see that there is some code in the kill unit where it says if enemy’s health is less then 0, dont wake it. Unfortunately it seems not to work and ive tried putting that in many different areas.

Anyways, I figure I let you know, because I did alot of adjustments to the code, so to make sure It was not because I changed something I created a new project with just your template and recreated the scenario on the Jungle Raid Map (Same erros appear). I was hoping that maybe you could check it out and see what you think. Any Assistance would be appreciated.

Thanks