How to fix bugs that only occur on build?

I’ve got an in-game glitch that only occur on build, not in the editor. Wondering if there’s a way to check that out. There’s no debug.log or anything of the sort, so how could I isolate the problems?

My thoughts so far would be to change things here and there and build the game to see what works. Just randomly do things and build every minute along the way. So far this doesn’t seem to cut it. Are there more efficient ways to peek into the system at build-time???

-Unity 2019.2.17f1 LWRP

-(It’s a screen flickering and going dark, in case you’re wondering.)

All console logs are stored in …_Data/output_log.txt if you are using a Windows Standalone build.

you can run the build and have unity run in the bg. might be a pro option only though as im not sure.

you can use this asset to debug in device

Console logs for builds might be stored in the AppData folder for your game. Look for a Player.log file there

https://forum.unity.com/threads/script-not-working-in-build-ok-in-editor.40806/#post-6718612

I had a bug that only occurred in the build that was caused by a script disabling another script on start. In the build the start() execution order was different which caused a bug. I fixed it by disabling in awake() instead.

Just writing this on the off chance it fixes someones problem

another case:
i’m using
transform.Translate( Vector2.up * Time.deltaTime, Space.Self);

to shoot projectiles.
works great on editor.
but won’t move on the build version.