Defold build errors on lines that are not there


my game is a 2d game like chippy from steam. im currently making a bullet that just travels forward but the script gives me multiple errors for lines that are empty or dont exist. can anyone help me deal with this problem

At least in the first screenshot, there’s an asterisk next to the script’s name at the top, which means it’s not saved. Sometimes Defold will respect changes you’ve made that haven’t been saved yet, but maybe that doesn’t apply to checking for errors in scripts.

1 Like