- Home /
Why would a built exe work differenty than in the editor
something is not working right with a build i'm doing
the thing is that a script works on the editor but not on the build. I think somehtings not getting updated properly, i've made many changes to the script and none of them get reflected in the build. I removed and added some print statements to the scripts to track the error. the thing here is that nothing changes, old and removed prints keep showing and new ones don't
any thoughts?
i've checked some other stuff and i'm sure the thing is that the build is using an older version of the same script. In the old one I used raycasting, which i later changed for a distance based solution because it didn't work with an art asset .The Build is still using the raycasting stuff
another thing, the only stuff that does that are the scripts.. changes made to prefabs work fine
$$anonymous$$aybe you rely on order of scripts (which is indeter$$anonymous$$istic)?
the order of scripts shouldn't have an impact, i don't have anything going on on awake calls. The main problem is the lack of updating between what i have in the editor and the build... it's not running my newest version of the scripts
Your answer