Fatal Error on launching, INT_DIVIDED_By_ZERO, and no way to track it down

Hey !

Okay, so, I’ve been working on a project fro a long moment, and we’ve been able to build it without problems for months ! But today, when launching our Monday Build, I get a fatal error, without explanation, and by looking at the log, this is what I get : [2019.03.19-10.34.29:763][ 0]LogWindows: Error: === Critical error: ===[2019. - Pastebin.com

I was wondering if anyone would have any idea on how to find this division by 0. I hope I d’ont have to dig through all the bp (around 50) to find it. the advantage is that we are using git, so in cas of extrem necessity, I can still get a previous version easily…

hope anyone can help, thanks !

Well that’s the thing… Game log is clean in editor, and I got no error in standalone launch neither…
EDIT: After testing all of our maps, I get no error in any of them.

Try to play the game in editor, check Log file and there should be at least a clue showing where is the division.

You can also use search in BP with keyword : “integer / integer”. This should track all of your divisions.

On the right of “Find in blueprint” there is a binoculars icon, this is Find In All Blueprints

Is there a way to do a search in all the blueprints ? Because we have a lot of them, and doing them one by one will be a pain in th a**…
EDIT: We didn’t had that much BP after all, seems like the project is cleaner than I thought. Anyway, funny thing, we do not have any single Int/Int in our project. Not a single one !..
EDIT#2: after using the find in all bp, here is what i got with int/int : https://imgur.com/Mr1jVim

I’m a now wondering, in my error message, it say INT_DIVIDE_BY_ZERO, so is it necessarly an Int/Int operation ? Could it come from any other Int division ?

EDIT: Nevermind, only int can divide int apparently…

Yup. I tried on a different machine, and the game now works flawlessly. Weird, I’ll see if restarting and deleting old files on the other computer actually do something, or if I’m doomed to use another machine. Anyway, thanks for taking the time to help me out !

Then you should check those 4 divisions one by one (it will take less than a minute) and fix it up
EDIT : It’s in-engine BP, do not change anything !

Now looking close to your log, the problem seems to be caused by something else. Try to restart computer, delete all files from previous build inside the project, open the project and re-build.

Normally there is no Int/Float nor Int/Vector but the best thing to do is track all of your division. Mind to disable “Show engine content” in view options