AI Behavior Tree - Pasting caused Access violation - code c0000005 (first/second chance not available)
< AI Behavior Tree - Pasting caused Access violation - code c0000005 (first/second chance not available) >
I was creating an AI and all was well until I noticed an anomaly while pasting inside the behavior tree editor. I copied and pasted a sub-tree within the editor and could not link it to the main structure. Since compiling successfully saves the assets by default, I thought it just needed a restart. I proceeded to compile the project, thus saving the tree, and reloaded UE4 4.11. I hit play before going back into editing and the AI seemed to be running the sub-tree I pasted and didn't sucessfully link into the main behavior tree. Like any debugger, I try to load up the behavior tree to check things out and I get my first crash with UE4. Below is the crash report has told me. I was wondering if there is any way to remove the sub-tree that pasted incorrectly outside of UE4 - I've had no luck inside the engine as the editor crashes before loading the structure for editing; but the AI seems to be running in-game oddly (not behaving like intended however).
I've exported the tree as a text file but there's no way to re-import. The other issue, pardon my ignorance, is I have no idea where to look for my pasting error... Any help would be appreciated.
Unfortunately, it doesn't seem like there's a back-up. I created a new semi-functional replacement to continue development so I guess it's probably more efficient to give up on recovery of the old behavior tree. It's not going to be easy to reproduce as it seems to be a rare occurance (the access violation bug itself as well). I'll be starting a back-up regime as a counter measure. If it does occur again, I'll submit file histories to see if we can pin-point the problem that occurred.
answered Jun 20 '16 at 06:56 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here