I am going to preface this by saying this is using the mtl.
So I ran into a really weird and out of nowhere bug where trying to open migami's gift list crashed the game nobody else just her. Its not like it stops me from getting them but I don't know why. Something similar happened a few days ago with me trying to open the menu which naturally was a farm more devastating bug, but running the patcher again fixed it so I guess its a script issue I am not the best at reading errors but the message mentioning backtracking makes me think its a function call error or something.
Something I've noticed from the Bob mtl and downloading the game with the bob's mtl prepatched is that it adds a lot of shit you either probably don't need (or in the case of the uncensored patch actively makes shit worse) and as a result the game can crash for an assortment of reasons (uncensored patch doesn't do that but it sucks nonetheless).
So generally either 3 things could be the issue
0. Joi Play (if applicable) burned my house and fucked my wife
I don't get why to this day people use it
1. You did not patch the game correctly and probably need to repatch on a clean copy of the game
2. you (by you I mean a prepatched bob's mtl download) added an outdated/incompatible plugin that you might have to delete
3. it just doesn't like you (random error that either can't be helped or requires someone more computer savy to help you)
considering the fact that I have similar patches and I get the same error, deleting the patch that the script references does nothing, and one of the files that the error calls for doesn't exist. The only real option is to either repatch or wait for some kind of update for bob's mtl.
My only (and possibly wrong) assumption is that it's trying to reference an icon for a certain item but due to the item's mtl name being different from what it actually has been translated to it's calling for something that basically doesn't exist leading to the error.