Bug - Launching game on a device uses old code

Afternoon all,

I’m currently developing a game for the ios platform and there is a problem when i change something in blueprints and launch the game on the smartphone using the editor.
It is currently not updating the code and is using old that doesn’t exist. However while testing on the editor the code is in perfect shape.

Hey LuLima,

When you’re modifying your blueprint, are you compiling and saving before closing the blueprint? If so, are you also using the ‘save all’ function? Are you using the engine from the Epic Games Launcher or GitHub? Are you still on version 4.8, if so, is it 4.8.3?

Thanks!

I always compile and save before closing the blueprint editor. The save all option i don’t use because i save each one manually before closing each editor.
I’m using the one from epic games launcher, so its the 4.8.3

Would it be possible for you to create a copy of your project for 4.9 and see if it reacts the same way when you launch onto your device numerous times? It sounds as though the temporary files are not being deleted from your device.

Do you close the game out completely once you’ve finished testing it? Would you mind providing us the output from your launch?

Looking forward to hearing back from you, thanks!

Sure, to whom can i send it out to?
Yes i do close it completely. I’m running it on a ipad, i double tap the home button and close the process down.

LuLima,

You can upload the here, or send them to me in a private message on the forums (my username is just my name). Definitely send us the , I’d get these too just in case.

How to get off of an iOS device

Windows:

  • Open iPhonePackager (Engine/DotNET/IOS)
  • Select a uproject file (Optional)
  • Select the Advance Tools tab
  • Select Other Deployment Tools…
  • Select Backup Documents…
  • Select the IPA for the game you wish to get a log for
  • The documents directory data will then be copied to Engine/DotNET/IOS/IOS_Backups or GameDir/IOS_Backups if a uproject was selected
  • The log can then be found at IOS_Backups/Game/Saved/

Mac:

  • Open Xcode (Install Xcode if you have not already)
  • Open Window|Devices
  • Select the device you want to get the log off of
  • Select the app you want to get the log from
  • Select the gear icon under the app list
  • Select Download Container
  • Select a location for the container file
  • Navigate to the file via Finder
  • Right click and select Show Package Contents
  • Navigate to the location of the log (AppData/Documents/Game/Saved//)

Please keep in mind that this weekend is a holiday weekend so we may not respond as quickly as you’d like, but we will respond as soon as we’re able to.

Thanks! :slight_smile:

Alright, i’ll try to replicate the issue since i just repackaged everything to update my code.
As soon as it happens again i’ll upload it to you then.

Just a quick question, packaging the project and launching it on the same device generates a complete build right?

Packaging a project through the Project Launcher allows you to select for the packaging process to build your project. Therefore, once you deployed and launched your packaged project on your device, you’d have the complete build ready to play. If you use the File > Package Project option, this too builds your project for Shipping, Development or Debugging.

Hey LuLima,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

I haven’t had the to try building it out on the 4.9 engine version yet. Unfortunately i’m under a heavy workload at work and haven’t had time to work on the project itself.

Please update this post when you’ve tested it in 4.9. Thank you!