Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

"Make Json" node can't be nativized #293

Closed
louga31 opened this issue Apr 7, 2020 · 3 comments
Closed

"Make Json" node can't be nativized #293

louga31 opened this issue Apr 7, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@louga31
Copy link

louga31 commented Apr 7, 2020

When the engine tries to nativize the "Make JSON" node, it creates this kind of C++ code
b0l__VaRest_MakeJson_Target__pf = UVaRestSubsystem::ConstructVaRestJsonObject();
This code doesn't compile because it calls a non-static function.

This issue prevent nativization of any blueprint that use the "Make JSON" node

I'm using the 4.25 branch

@louga31 louga31 changed the title Make Json node can't be nativized "Make Json" node can't be nativized Apr 7, 2020
@ufna ufna added research bug Something isn't working labels Apr 8, 2020
@ufna
Copy link
Owner

ufna commented Apr 8, 2020

void ANewBlueprint_C__pf1010915279::bpf__ExecuteUbergraph_NewBlueprint__pf_1(int32 bpp__EntryPoint__pf)
{
	UVaRestSubsystem* bpfv__CallFunc_GetEngineSubsystem_ReturnValue__pf{};
	check(bpp__EntryPoint__pf == 8);
	// optimized KCST_UnconditionalGoto
	b0l__VaRest_MakeJson_Target__pf = UVaRestSubsystem::ConstructVaRestJsonObject();
	if(::IsValid(b0l__VaRest_MakeJson_Target__pf))
	{
		b0l__VaRest_MakeJson_Target__pf->UVaRestJsonObject::SetStringField(FString(TEXT("111")), FString(TEXT("243")));
	}

@ufna ufna removed the research label Apr 8, 2020
@ufna ufna closed this as completed in 4cd86e6 Apr 8, 2020
@ufna
Copy link
Owner

ufna commented Apr 8, 2020

@louga31 ,

fixed now, I'll update it on the Marketplace too soon.

@louga31
Copy link
Author

louga31 commented Apr 8, 2020

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants