Currently, in my mod, it is not possible to stamp anything because the game closes. I'm not sure exactly why this happens, but I think a good solution is simply not to save those elements. Perhaps this isn't a good idea though, so I'm interested in what else I could do. I don't think I have made any changes that would affect this other than made new elements, though I am linking the changes I have made here anyway.
I don't know how exactly to debug it. What should I do?
Edit:
Nevermind. I am no longer having any issues. I don't know what was causing my problem, but it is working perfectly now.
Well, this is happening again with my debug builds. Whenever I stamp or save something it just crashes. Another thing I should probably note is that I always have a script unresponsive sign the moment I open powder.exe, which is not a problem in vanilla with the exact same scripts.