Packaging failed : Cook failed : Unhandled Exception: 0xc06d007e

Hello there, while setting up UE4.26, I was testing a sample game from UE templates. I was able to build and run properly but when I try to package the same it gives below exception

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogMaterial: Display: Missing cached shader map for material WorldGridMaterial, compiling. Is special engine material.

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogThreadingWindows: Error: Runnable thread PoolThread 12 crashed.

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogThreadingWindows: Error: Runnable thread PoolThread 13 crashed.

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: begin: stack for UAT

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: === Critical error: ===

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error:

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogThreadingWindows: Error: Runnable thread PoolThread 11 crashed.

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: Fatal error!

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error:

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: Unhandled Exception: 0xc06d007e

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error:

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: [Callstack] 0x00007ff904cad759 KERNELBASE.dll!UnknownFunction []

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: HandleError re-entered.

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: [Callstack] 0x00007ff89680365d UE4Editor-TextureFormatETC2.dll!__delayLoadHelper2() [d:\agent\_work\63\s\src\vctools\delayimp\delayhlp.cpp:312]

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: HandleError re-entered.

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: [Callstack] 0x00007ff896802b51 UE4Editor-TextureFormatETC2.dll!_tailMerge_textureconverter_dll() []

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: [Callstack] 0x00007ff8968022ee UE4Editor-TextureFormatETC2.dll!CompressImageUsingQonvert() [D:\UserName\Workspace\UnrealEngine\Source\UnrealEngine\Engine\Source\Developer\TextureFormatETC2\Private\TextureFormatETC2.cpp:106]

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: [Callstack] 0x00007ff896801fcd UE4Editor-TextureFormatETC2.dll!UnknownFunction [D:\UserName\Workspace\UnrealEngine\Source\UnrealEngine\Engine\Source\Developer\TextureFormatETC2\Private\TextureFormatETC2.cpp:178]

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: [Callstack] 0x00007ff89a67c8a9 UE4Editor-TextureCompressor.dll!UnknownFunction [D:\UserName\Workspace\UnrealEngine\Source\UnrealEngine\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:271]

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):   LogWindows: Error: [Callstack] 0x00007ff89a67c0be UE4Editor-TextureCompressor.dll!UnknownFunction [D:\UserName\Workspace\UnrealEngine\Source\UnrealEngine\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:296]

PackagingResults: Error: Runnable thread PoolThread 12 crashed.

PackagingResults: Error: Runnable thread PoolThread 13 crashed.

PackagingResults: Error: begin: stack for UAT

PackagingResults: Error: === Critical error: ===

PackagingResults: Error: Runnable thread PoolThread 11 crashed.

PackagingResults: Error: Fatal error!

PackagingResults: Error: Unhandled Exception: 0xc06d007e

PackagingResults: Error: [Callstack] 0x00007ff904cad759 KERNELBASE.dll!UnknownFunction []

PackagingResults: Error: HandleError re-entered.

PackagingResults: Error: [Callstack] 0x00007ff89680365d UE4Editor-TextureFormatETC2.dll!__delayLoadHelper2() [d:\agent\_work\63\s\src\vctools\delayimp\delayhlp.cpp:312]

PackagingResults: Error: HandleError re-entered.

PackagingResults: Error: [Callstack] 0x00007ff896802b51 UE4Editor-TextureFormatETC2.dll!_tailMerge_textureconverter_dll() []

PackagingResults: Error: [Callstack] 0x00007ff8968022ee UE4Editor-TextureFormatETC2.dll!CompressImageUsingQonvert() [D:\UserName\Workspace\UnrealEngine\Source\UnrealEngine\Engine\Source\Developer\TextureFormatETC2\Private\TextureFormatETC2.cpp:106]

PackagingResults: Error: [Callstack] 0x00007ff896801fcd UE4Editor-TextureFormatETC2.dll!UnknownFunction [D:\UserName\Workspace\UnrealEngine\Source\UnrealEngine\Engine\Source\Developer\TextureFormatETC2\Private\TextureFormatETC2.cpp:178]

PackagingResults: Error: [Callstack] 0x00007ff89a67c8a9 UE4Editor-TextureCompressor.dll!UnknownFunction [D:\UserName\Workspace\UnrealEngine\Source\UnrealEngine\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:271]

PackagingResults: Error: [Callstack] 0x00007ff89a67c0be UE4Editor-TextureCompressor.dll!UnknownFunction [D:\UserName\Workspace\UnrealEngine\Source\UnrealEngine\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:296]

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Took 127.9361206s to run UE4Editor-Cmd.exe, ExitCode=777004

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: Cook failed.

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)):        (see D:\UserName\Workspace\UE\Source\UnrealEngine\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace)
PackagingResults: Error: Cook failed.

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED
PackagingResults: Error: Unknown Cook Failure
LogAudioMixer: Warning: Changing default audio render device to new device: {0.0.0.00000000}.{fb94db43-af78-4db2-a056-d948840bd168}.

LogAudioMixer: Resetting audio stream to device id 

LogAudioMixer: Display: 0: FrontLeft

LogAudioMixer: Display: 1: FrontRight

LogSlate: Window 'About Unreal Editor' being destroyed