# Error during package

**URL:** <https://forums.unrealengine.com/t/error-during-package/443024>\
**Category:** C++\
**Tags:** dlc, Packaging-Failed, Mobile-Packaging, unreal-engine, CPP, question\
**Created:** [February 9, 2019, 4:13am UTC](https://forums.unrealengine.com/t/error-during-package/443024 "2019-02-09T04:13:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_a7b1adcd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a7b1adcd](https://forums.unrealengine.com/u/anonymous_user_a7b1adcd)\
**Post date:** [February 9, 2019, 4:13am UTC](https://forums.unrealengine.com/t/error-during-package/443024/1 "2019-02-09T04:13:22Z")

</div>

LogWindows: Error: Assertion failed: Plugin.IsValid() [File:D:\Build++UE4\Sync\Engine\Source\Editor\UnrealEd\Private\CookOnTheFlyServer.cpp] [Line: 2011]

no idea. I use a completely BP project.  
And everything will package if I just package it from the file/package.  
During a packaging using the mobile wizard the apk packages (but is all one file of 355mb with only one empty map)  
then when I run DLC packaging I get a list of memory errors after this. When all packages are done then it fails.

Seems to be pointing to my D drive which is just a system restore and I dont keep anything there. Nothing even shows up in the explorer without me changing a bunch of settings.

and types on how to hunt this down would be appreciated.

---

<div class="post-metadata">

**Author:** ![Createlex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Createlex](https://forums.unrealengine.com/u/Createlex)\
**Post date:** [May 2, 2019, 1:42pm UTC](https://forums.unrealengine.com/t/error-during-package/443024/2 "2019-05-02T13:42:48Z")

</div>

Getting the same error on 4.22 going to be doing some more research.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a7b1adcd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a7b1adcd](https://forums.unrealengine.com/u/anonymous_user_a7b1adcd)\
**Post date:** [May 2, 2019, 2:18pm UTC](https://forums.unrealengine.com/t/error-during-package/443024/3 "2019-05-02T14:18:55Z")

</div>

Oh shoot I forgot all about this.

What had happened in mine, was I was going to start a tutorial. And it involved CPP I created something for it (may have been from them too can’t remember) and it had created the header.

Later I just removed the file. It created an error as basically there was an incomplete CPP file that it was still looking for that was being compiled.

Ultimately I removed all the junk files, the CPP files etc.  
It caused an error where my project t wouldn’t launch at all.

So with all those areas empty I then converted to a “new” engine version (choosing same one I was using)  
Without the files there and rebuilding it for an update it took the expectancy out

---

<div class="post-metadata">

**Author:** ![Ghar](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ghar](https://forums.unrealengine.com/u/Ghar)\
**Post date:** [October 2, 2019, 8:10pm UTC](https://forums.unrealengine.com/t/error-during-package/443024/4 "2019-10-02T20:10:30Z")

</div>

did you solve it? I’m getting the same error

---

<div class="post-metadata">

**Author:** ![Createlex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Createlex](https://forums.unrealengine.com/u/Createlex)\
**Post date:** [October 2, 2019, 9:06pm UTC](https://forums.unrealengine.com/t/error-during-package/443024/5 "2019-10-02T21:06:44Z")

</div>

I solved this error by unchecking both. in 4.22  
Share Materials Shaders and Share materials Shaders Library

 ![289029-screen-shot-2019-10-02-at-20318-pm.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/9/d/f9db498822f2843dddde1f2161a15af20c38f058.png)
