Downloading program is successful but doesn't update

Hello.

I was programming earlier and I noticed a problem: the code would successfully download, but for some reason, it wouldn’t change.

For example, at the bottom of the code below, it tells the brain to clear all the prints that were made throughout the functions.

However. during testing, the robot fails to clear and remains the same.

Another example is that yesterday there used to be a function that would make the robot curve - also at the bottom of the code (ignore curve function, motor, and brain prints). Today, I changed it to a drive backward function, and for some reason, it still curves no matter what.

I did the following:

  1. Removed unnecessary blocks and pieces of unused code.
  2. Added anything, a print block, a motor turn block, you name it.
  3. Redownloaded it over and over again.

Please keep in mind I download by controller-to-brain by radio link.

That’s weird. My suggestion is, make sure you’re downloading to Slot 1? Is it possible that you accidentally changed the Slot that it is downloading into?

It has been Slot 8 for a long time and will stay like that.

Haha okay.
If it is still set to Slot 8 (it didn’t accidentally change), then I don’t know… I’m not familiar with how V5 Blocks works, so I guess I’m not much help :sweat_smile:
Sorry! I hope you figure it out!

Does your exported code save as a single file or as a folder when you go to file then save as?

It saves as a single file in downloads, not as a folder. Usually, from my experience, folders hold text code and whatnot.

My recommendation would be save the project as under a new name in a new directory, then try to download again on a new slot on the brain. If this doesn’t work then check that you’re not receiving any runtime errors on the brain when the new section tries to execute.