Package Build Error

I was getting errors trying to build with an oceans plugin so I removed the plugin and all it’s attachments and have tried building/packaging the project again - Windows 64-bit. I thought it was going to work this time, it made it further in the cook than it has before but yet again it failed out except I can’t figure out what the problem is now. It’s an assertion failure. Here is the error message given to me in the log report. If you want the whole log, I’ll post it but all went well (except a couple warnings about deprecated timer functions) until this critical error occurred:

[2015.12.10-21.32.59:806][  0]LogWindows:Error: Windows GetLastError: The operation completed successfully. (0)
[2015.12.10-21.33.04:210][  0]LogWindows: === Critical error: ===
Assertion failed: PrecacheSize > 0 [File:D:\BuildFarm\buildmachine_++depot+UE4-Releases+4.9\Engine\Source\Runtime\CoreUObject\Private\UObject\LinkerLoad.cpp] [Line: 929] 


[2015.12.10-21.33.04:237][  0]LogExit: Executing StaticShutdownAfterError
[2015.12.10-21.33.04:861][  0]LogPhysics:Warning: PHYSX: ..\..\PhysX\src\NpScene.cpp (2946) 8 : PxScene::unlockWrite() called without matching call to PxScene::lockWrite(), behaviour will be undefined.
[2015.12.10-21.33.04:861][  0]LogPhysics:Warning: PHYSX: ..\..\PhysX\src\NpScene.cpp (2946) 8 : PxScene::unlockWrite() called without matching call to PxScene::lockWrite(), behaviour will be undefined.
[2015.12.10-21.33.04:883][  0]LogWindows: FPlatformMisc::RequestExit(1)
[2015.12.10-21.33.04:883][  0]Log file closed, 12/10/15 13:33:04

Any help is greatly appreciated! Not much use creating a game if you can never package it!

JTSmith,

Could you please try to open a COPY of your game in 4.10.1 and let me know whether or not you are running into the same issue? If you are, please upload the full error logs as a .txt file in your next reply.

Thank you!

I’ll give that a try later today. I am on the verge of just starting a new 4.10.1 project and re-coding everything fresh into the new project, with packaging at every major turn to ensure compliance. If this works, it will save me a major headache and a couple weeks worth of work!

Same problem for me! I tried to move the project in a blank project in order to clear it but it stil doesn’t work :frowning:

Alright, well I’m not getting the same error as I was but it’s still failing out. I have attached 2 logs. The project originally has/had an Oceans plugin but I could tell it was returning errors, so I ran 2 separate package attempts, one with the plugin and one without any remnants of the Ocean plugin. I’m not 100% sure of the difference between the 2 fail logs, I didn’t go through line by line but they both fail regardless.

In the one without the plugin, you’ll notice that I get a bunch of warning for use of an illegal character ‘.’ in the names of a bunch of textures/materials. There’s 2 weird things about this: 1) There is no illegal characters, let alone a ‘.’ & 2) When I removed the plugin, I removed that entire folder structure (/sky/…/…) so it shouldn’t even be trying to convert those because they are no longer there (I restarted Editor, restarted Launcher and even restarted computer to ensure any cache would be gone.)

There is 2 errors given, further up in the build/package referencing “Enemy_Unit”, something about it’s not part of TRASH and needs a reference to something other than self. I don’t understand this error because I’ll go into the BP’s, and the nodes it seems to be having issues with “Destroy Component” and “Destroy Actor” are their to destroy itself but I’ll compile the project from the BP and the error goes away but is found again when packaging.

Any help you can give me would be greatly appreciated. I’m on a deadline, so while I wait for a response I’m going to just start recoding the project into a new 4.10.1 project and build at every corner to ensure there is no failures.

Thanks again for you help Samantha!
link text
link text

Please open up your logs and look at the “Warning/Error Summary” section. You’ll see the following at the top of the summary:

[2015.12.12-03.22.35:630][  0]LogInit:Display: LogBlueprint:Error: [compiler Enemy_Offensive] Error This blueprint (self) is not a TRASHCLASS_EnemyUnit_192, therefore ' Target ' must have a connection.
[2015.12.12-03.22.35:630][  0]LogInit:Display: LogBlueprint:Error: [compiler Enemy_Offensive] Error This blueprint (self) is not a TRASHCLASS_EnemyUnit_530, therefore ' Target ' must have a connection.
[2015.12.12-03.22.35:630][  0]LogInit:Display: LogCollisionProfile:Warning: Profile (BulwarkRangeFinder) - Custom Channel Name = 'GameTraceChannel4' hasn't been found
[2015.12.12-03.22.35:630][  0]LogInit:Display: LogCollisionProfile:Warning: Profile (BulwarkRangeFinder) - Custom Channel Name = 'GameTraceChannel5' hasn't been found
[2015.12.12-03.22.35:631][  0]LogInit:Display: LogCollisionProfile:Warning: Profile (BulwarkVolumeComponent) - Custom Channel Name = 'GameTraceChannel4' hasn't been found
[2015.12.12-03.22.35:631][  0]LogInit:Display: LogCollisionProfile:Warning: Profile (BulwarkVolumeComponent) - Custom Channel Name = 'GameTraceChannel5' hasn't been found

Once you get through these errors, look at the rest of the warnings as well. It looks like your names may be too long or you’re using invalid characters (*!@#$%^&()).

Thanks!

Hey Samantha, thanks for looking at this for me. That error for TRASHCLASS is odd because the node(s) it’s referring too is a Destroy component and a Destroy actor, set within the object I am trying to destroy, so self is correct. I did plug in the actual “Self” reference node but this doesn’t always seem to help. The error is intermittent when it pops up, although it pops up during each package attempt. When I go into the BP, it shows an error but if I just recompile, the error goes away and it plays without error.

The other warnings about about long names and/or invalid characters is also baffling. Name lengths are within reason, as well as I have other names that are longer which it doesn’t complain about. I’ve had it complain about long names in a different package, about the starter content. For invalid names, the only additional character I have besides the alphabet (no numbers are used) is the _ but again, I have other BP’s that use it which it does not complain about.

Any suggestions? Thanks!

You might need to recreate or readd any nodes within the blueprints for the error that’s TRASHCLASS. Regarding the illegal naming conventions, could you please copy and paste the full path? (example: D:\SamanthasProject\Content\GTFreeMaterials\Textures\Brick_chicagoStyle)

Thank you!

Certainly. Here is just one of the examples from a warning of a long name for the Example map:

C:\Users\jtsmith\Documents\Bulwark\Backup\Content\Maps\Example.umap

All of the files of the project are in the parent folder heirarchy: C:\Users\jtsmith\Documents\Bulwark\Backup

The warnings show it as if it has a massive adventure locating the folder structure (…/…/…/…/…/…/Users) when obviously Users is the root folder on my C:\ drive.

Could you try deleting your saved and intermediate folders from your game project? I do not see any illegal characters and I believe this may help your project recreate those new folders.

Let me know, thank you!!

Hey JTSmith,

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!