UE 4.25 Crash when import json

Discuss issues pertaining to the various game/web runtimes of Creature here.
Post Reply
crazyos
Posts: 2
Joined: Thu Sep 10, 2020 3:57 am

UE 4.25 Crash when import json

Post by crazyos » Thu Sep 10, 2020 4:23 am

Last month, I imported it successfully.
But when I imported another one today.
It crashed after I opened the JSON file although it's a new project.
And my old project can't import too.
The same JSON file, no any change.
But i updated the runtime,is it related to this?

Code: Select all

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000

UE4Editor_CreaturePlugin!CreatureModule::Creature::LoadFromData() [J:\UE\PROJECTS\RPG1\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureModule.cpp:955]
UE4Editor_CreaturePlugin!CreatureCore::LoadCreature() [J:\UE\PROJECTS\RPG1\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureCore.cpp:692]
UE4Editor_CreaturePlugin!CreatureCore::InitCreatureRender() [J:\UE\PROJECTS\RPG1\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureCore.cpp:359]
UE4Editor_CreaturePlugin!UCreatureAnimationAsset::GatherAnimationData() [J:\UE\PROJECTS\RPG1\Plugins\CreaturePlugin\Source\CreaturePlugin\Private\CreatureAnimationAsset.cpp:229]
UE4Editor_CreatureEditor!UCreatureAnimationAssetFactory::ImportSourceFile() [J:\UE\PROJECTS\RPG1\Plugins\CreaturePlugin\Source\CreatureEditor\Private\CreatureAnimationAssetFactory.cpp:88]
UE4Editor_CreatureEditor!UCreatureAnimationAssetFactory::FactoryCreateNew() [J:\UE\PROJECTS\RPG1\Plugins\CreaturePlugin\Source\CreatureEditor\Private\CreatureAnimationAssetFactory.cpp:41]
UE4Editor_UnrealEd
UE4Editor_AssetTools
UE4Editor_ContentBrowser
UE4Editor_ContentBrowser
UE4Editor_ContentBrowser
UE4Editor_ContentBrowser
UE4Editor_ContentBrowser
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_Slate
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
UE4Editor_ApplicationCore
user32
user32
UE4Editor_ApplicationCore
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll

crazyos
Posts: 2
Joined: Thu Sep 10, 2020 3:57 am

Re: UE 4.25 Crash when import json

Post by crazyos » Thu Sep 10, 2020 5:25 am

i solve it ,but there's other one
It report a error when i build the project,
then i open this file \CreaturePlugin\Source\CreaturePlugin\Public\SCreatureWidget.h
and change

Code: Select all

	void SetWorldType(EWorldType::Type world_type_in)
	{
		world_type = world_type;
	}
to

Code: Select all

	void SetWorldType(EWorldType::Type world_type_in)
	{
		world_type = world_type_in;
	}
then it build succeed.
i think it's not my problem

chong
Posts: 1178
Joined: Thu Feb 19, 2015 2:21 am

Re: UE 4.25 Crash when import json

Post by chong » Thu Sep 10, 2020 9:40 am

Fantastic and thanks for finding that bug! Just checked in the change to git :)

Cheers

Post Reply