Hey everybody. I recently found out that you should try to package your game as often as possible to ensure it works fine. I decided to attempt to package my game and I got alot of errors. I tried fixing it myself and failed. I went on Fiverr and hired a debugger and he and I were not able to figure it out. He said the line of the code that was causing the compiler error was very interesting and I should post my error on the forums, so here i am!
I will literally pay you if you can fix this. Iâm heartbroken and am not sure what to do.
This was the line he was saying was the cause of the main issue:
" 1. UATHelper: Packaging (Windows (64-bit)): LogWindows: Error: Assertion failed: NumNewPins == InNewPins.Num() [File:D:/Build/++UE4/Sync/Engine/Source/Editor/BlueprintGraph/Private/K2Node.cpp] [Line: 1104] "
Warning: Failed to find object 'Class /Game/ThirdPersonBP/ThirdPersonOverview.ThirdPersonOverview_C'
Failed to load /Game/Widgets/MainMenu/OptionsMenu/Master Referenced by .....
Did you delete files and rename files and move files around a lot? Did you after that rightclick your folders and select FixUpRedirectors? Any special plugins? Migrated content? Does everything work in Editor?
C:\Users\****\Content\RetroParticles\Particles\Systems\NS_Snow.uasset: The
**mesh distance field generation**
is currently not enabled, please check the project settings.
The log suggests this:
The mesh distance field generation is currently not enabled, please check the project settings. Niagara cannot query the distance field otherwise. - Node: Query Mesh Distance Field GPU. Incorrect number of outputs. Can possibly be fixed with a graph refresh. - Node: Query Mesh Distance Field GPU -
I did delete files, and rename files and move files a decent amount. I didnât, after consulting the Fiverr debugger we did that and those errors still popped up. No special plugins. No migrated content. Everything works perfectly fine in Editor with no errors at all.
Mesh distance field generation is enabled, so im not sure why thatâs showing up and/or what I could do to fix that.
I am not familiar with your game so the question might be out of placeâŚ
Can you identify in your code the âNumNewPins == InNewPins.Num()â statements?
Could try commenting out sections of code related to this in an attempt to isolate what is causing this error.
Are you using a revision control program like Git? If not, I HIGHLY recommend this. Git has saved me more than once being able to rollback changes.
I would also consider removing NS_Snow.uasset from your game temporarily. Looks like you are getting alot of compilation errors given this. Maybe this is the source of the build failure???
Also, I donât understand the Errors related to deleting and saving. Does this directory path exist? Are you running out of disk space when building?
I am using 4.26.2. I can build my game for windows.
Did you split a node like a Vector2D? That could give an error but should already be fixed since 4.25.
Is this a big project? Can you recreate that project (if it is small) one by one and try to package it? Can you share the project ?
Iâm not entirely sure what you mean by identify that statement. Itâs a default piece of code in the engine that I havenât modified. Iâve been primarily using BP and only touched my c++ to implement one or two things that werenât related to that code.
Iâll try removing that.
Iâm not using Git, but I am using Perforce for Source Control. Iâve tried my oldest saved build and I still get the same error. The directory path does exist, and Iâm definitely not running out of disk space.
I think I did split a Vector2D node. Should i go unsplit it?
This is not a big project in file size. Total is about 5gb for the project. Ive been working on it since July 2022. I could recreate it, but I really would prefer not to.
I can share the project.
Here is an old version before I used source control (still doesnât work for package): BL00Dexe.zip - Google Drive
Downloaded your current version. I get the same error. Prior to this I get the following errorâŚ
UATHelper: Packaging (Windows (64-bit)): LogPackageName: Error: DoesPackageExist: DoesPackageExist FAILED: â/Game/Weapons/Shotgun/Striker12_Idle_Striker 12 (Used by petrol sniffers)_Skeletonâ is not a standard unreal filename or a long path name. Reason: Name may not contain the following characters: â â
PackagingResults: Error: DoesPackageExist: DoesPackageExist FAILED: â/Game/Weapons/Shotgun/Striker12_Idle_Striker 12 (Used by petrol sniffers)_Skeletonâ is not a standard unreal filename or a long path name. Reason: Name may not contain the following characters: â â
UATHelper: Packaging (Windows (64-bit)): LogUObjectGlobals: Warning: [AssetLog] C:\Users\mjkni\Documents\Unreal Projects\DesktopWorkspace\Content\Weapons\Shotgun\Striker12RM.uasset: Failed to load â/Game/Weapons/Shotgun/Striker12_Idle_Striker 12 (Used by petrol sniffers)_Skeletonâ: Canât find file.
PackagingResults: Warning: [AssetLog] C:\Users\mjkni\Documents\Unreal Projects\DesktopWorkspace\Content\Weapons\Shotgun\Striker12RM.uasset: Failed to load â/Game/Weapons/Shotgun/Striker12_Idle_Striker 12 (Used by petrol sniffers)_Skeletonâ: Canât find file.
UATHelper: Packaging (Windows (64-bit)): LogPackageName: Error: DoesPackageExist: DoesPackageExist FAILED: â/Game/Weapons/Shotgun/Striker12_Idle_Striker 12 (Used by petrol sniffers)_PhysicsAssetâ is not a standard unreal filename or a long path name. Reason: Name may not contain the following characters: â â
UATHelper: Packaging (Windows (64-bit)): LogUObjectGlobals: Warning: [AssetLog] C:\Users\mjkni\Documents\Unreal Projects\DesktopWorkspace\Content\Weapons\Shotgun\Striker12RM.uasset: Failed to load â/Game/Weapons/Shotgun/Striker12_Idle_Striker 12 (Used by petrol sniffers)_PhysicsAssetâ: Canât find file.
PackagingResults: Error: DoesPackageExist: DoesPackageExist FAILED: â/Game/Weapons/Shotgun/Striker12_Idle_Striker 12 (Used by petrol sniffers)_PhysicsAssetâ is not a standard unreal filename or a long path name. Reason: Name may not contain the following characters: â â
Followed you link for DesktopWorkspace.zip. 7unzipâed this and loaded this into UE4.26.2. Attempted to build and I get that error prior to the âCritical error:â issueâŚ
Restore missing/wrong references. Created empty files to match these references.
Deleted not used files from explorer (did not show up in the content browser) like MI_LightFlickering and MI_LightOff (maybe broken)
Went down the rabbit hole: ValidateAssets. Found a blueprint which broke everything:
\Content\Weapons\DualWieldSMGS\DualWieldSMGS and removed it. Itâs gone.
Created Skeletons for Shotgun and GyroGun, were broken I think
Checked all files again with FixUpredirectors and ValidateAssets