Skip to main content
benjaminolah
Participant
December 6, 2022
Open for Voting

Unreal engine 5 crashes on startup when substance plugin is activated.

Hello, 

 

I've started working on a project where I need the substance plugin. When I activate the plugin unreal crashes and leaves this crash report:

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\GenericPlatform\GenericPlatformMemory.cpp] [Line: 221] Ran out of memory allocating 2305843009750564864 bytes with alignment 0. Last error msg: The parameter is incorrect..

UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_SubstanceCore!USubstanceTexture2D::SerializeTexture2DMip() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\Substance\Source\SubstanceCore\Private\SubstanceTexture2D.cpp:181]
UnrealEditor_SubstanceCore!USubstanceTexture2D::SerializeCurrent() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\Substance\Source\SubstanceCore\Private\SubstanceTexture2D.cpp:117]
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor_UnrealEd
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

 

I've tried to fix this for two days now. Deleting 'CachedAssetRegistry.bin', redownloading/reinstalling plugin, opening a new fresh project. Nothing works. Can't locate neither the 'SubstanceTexture2D.cpp' or the 'GenericPlatformMemory.cpp'.

 

Thanks for the help. 

5 replies

Community Manager
December 12, 2023

Hi, Have you tried removing the plugin and re-installing it again? Or Could you try using the plugin in a new project and let us know if you're still encountering this issue? We recently released some bug fixes in the Plugin v5.3.2, so please use the latest version of the plugin.

Translate
Participant
December 10, 2023

windows and still happens with Unreal engine 5.3.2.. what is going on with this plugin?

Translate
Community Manager
April 28, 2023

Hi, Are you on Windows or Mac, or Linux? 

Translate
Participant
April 22, 2023

I am having this same issue. UE 5.1.1

Translate
Community Manager
March 3, 2023

Hi, Which version of Unreal Engine are you using? We have fixed some issues with Unreal Engine 5.1, so that might fix your issue as well. But let us know otherwise. Thanks!

Translate