Ran out of memory due to UI?

It only occurs after about 40 - 50 seconds of starting the game and adding quests. They function correctly for that time but then it runs out of memory after a minute or so. All my other UI is done in the same way, it’s odd that quests would be specifically causing this.

I’ve also done a stress test, with 100 + AI again and the FPS dropped but it worked fine for 20 minutes without quests involved.

I’ll look through the code and see if removing some functionality makes a difference, i.e. remove the event listeners etc.