Skip to main content
benjaminolah
Participant
Dec 6, 2022 11:06 AM UTC
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
Dec 12, 2023 10:40 PM UTC

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
Dec 10, 2023 7:32 PM UTC

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

Translate
Community Manager
Apr 28, 2023 5:31 PM UTC

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

Translate
Participant
Apr 22, 2023 4:45 PM UTC

I am having this same issue. UE 5.1.1

Translate
Community Manager
Mar 3, 2023 6:43 PM UTC

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