Editor me to save files that don't need to be saved?

Every time I “save all modified assets” in content browser I see same 3 files show up, even if I already saved them. They will stay saved unless I run game. Every time I run game, I have to save these files again even if I made no changes to them.

Edit: If I play a standalone game, then I don’t need to re-save, but playing in a new editor window or current editor window, I see asterisk on my asset as soon as I launch it.

Hey ,

Would you mind linking me to one of your .uassets that are causing this to occur? And just to be sure I understand, this happens when you try to Play in Editor? Thanks!

Here is a link to one of my problem uassets:
http://www.mediafire.com/download/55bnm2h9mg2k17u/SHud.uasset

Yeah, it happens when I Play in Editor.

Hey ,

I see you’re doing some casting in this Blueprint, so I think I see cause of problem. When you save a BP that casts to another BP, that second BP becomes “dirty.” A dirty BP asset isn’t counted as a modified asset, so when you Save All Modified Assets those dirty assets won’t be included.

I’m guessing you cast to this HUD BP from another BP, and same is true for all 3 assets this occurs with. If that’s case, try using File > Save All and see if that solves problem. Let me know if it still happens after trying that.

Best,

Oh, I see. Thanks for answer. I’ll let you know as soon as I get a chance to test it.

Didn’t work. They still need to be saved after File > Save All and running game in editor.

Are each of three files cast to from another Blueprint? Are there any shared variables between files in question and other BPs? Just want to make sure I’m looking in right direction. Thanks!

Yeah, all problem files cast to other blueprint files. 3 files that have to always be saved are: player, scout, and hud.
Player BP has casts to: scout, two weapons, gamemode

Scout BP has casts to: player, generic pawn, an actor placed in level

Hud BP has casts to:
player

No shared variables and no interfaces. As far as variables I just cast to BP to gain access to variables I need in other BPs.

And do any other Blueprints cast to those 3?

I only found one other blueprint that casts to player.

Hey ,

I’m sorry, but I have not been able to reproduce issue on my end. Save All really should work, and I can’t think of anything that would modify or dirty an asset during PIE. Even using the .uasset you sent, I wasn’t seeing same issue.

I’m afraid without being able to reproduce issue I don’t think I can help. I will keep trying, and will let you know if I see what’s causing issue.

Best,

It’s really just a minor annoyance. It was confusing at first cause I wasn’t sure if I made any changes to files. I was just hoping it was an easy fix. I thought it might be that my scout was casting to a placed level actor, but I took those nodes out and it’s still doing it. Who knows.

Hello,

Thank you for your report. We were not able to investigate this on engine version you reported, but there have been many version changes to UE4 since this question was first posted. With a new version of Engine comes new fixes and it is possible that this issue has changed or may no longer occur. Due to timetable of when this issue was first posted, we are marking this post as resolved for tracking purposes.

If you are still experiencing issue you reported in current engine version, then please respond to this message with additional information and we will investigate as soon as possible. If you are experiencing a similar, but different issue at this time, please submit a new report for it.

Thank you.

Still having the same issue 10 years later…