How can i fix it (Yail unbound location null when compiled)

it happens when i press a button in my application only from downloaded not from simulation

We just do not know. Show your relevant blocks for button press and/or upload your aia project

Are you using a list?

(Canned Reply: ABG- Export & Upload .aia)
Export your .aia file and upload it here.
export_and_upload_aia