Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Packaging error: Exception in Win.Automation: Couldn't update resource

Hey guys, I'm trying to package a game for win64, and have solved pretty much all of the issues so far but I keep getting stuck at this point now. What can I do? I've attached the log:

log file

Product Version: UE 4.10
ue4buildlog.txt (702.9 kB)
more ▼

asked May 03 '16 at 05:19 PM in Packaging & Deployment

avatar image

6 1 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello kolinsyc,

It seems like the error that sticks out here is:

ERROR: Exception in Win.Automation: Couldn't update resource

Searching for this results in finding this post that may be able to help you with this problem: https://answers.unrealengine.com/questions/207655/packaging-error-couldnt-update-resource.html

To summarize, it seems like there is a file that is set as read-only that the compiler or cooker is trying to update but can't. I can't tell what file it is from the log file, as the callstack it provides isn't specific on what asset it was trying to update. I'll look into how to find out what file it is.

more ▼

answered May 03 '16 at 05:53 PM

avatar image kolinsyc May 03 '16 at 06:50 PM

Thank you. I've checked it out and it seems like I might be able to use that bit of code as a workaround, but I'm not sure how to find or access WinPlatform.Automation.cs (I have Visual Studio 2015 installed). Would you be able to give me some pointers as to what I should be looking for?

I really appreciate it!

avatar image Matthew J May 03 '16 at 09:17 PM

The WinPlatform.Automation.cs file is only available if you're using a version of the engine built from source code, which you can download from our Github repositories. You can find out more about that process here: https://docs.unrealengine.com/latest/INT/GettingStarted/DownloadingUnrealEngine/

avatar image kolinsyc May 03 '16 at 09:26 PM

Thanks! Will I have to reinstall UE4 to proceed with this? will I have to re-migrate everything?

avatar image Matthew J May 03 '16 at 09:39 PM

The installation will be separate from your Binary installs that you downloaded from the Launcher, as it doesn't technically install itself. As for migrating, you shouldn't have a problem as long as you download the 4.10 version of the source. After you have it all compiled, you can open the new editor once (just to the Unreal Project Browser is fine), create an entirely new copy of your project (Just so you have an unedited backup handy) and then right-click the .uproject file and use the "Switch Engine Version" feature to select the newly downloaded engine.

avatar image kolinsyc May 03 '16 at 09:48 PM

excellent. Thank you. I'll give it a shot!

avatar image kolinsyc May 04 '16 at 11:09 PM

I migrated it once more and built it, it worked out great! thanks for all your help and bearing with me!

avatar image Matthew J May 05 '16 at 01:54 PM

I'm glad to hear it worked!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question