JsonAsAsset / JsonAsAsset

Unreal Engine plugin to allow conversion between JSON to Unreal Engine.
MIT License
135 stars 24 forks source link

Fatal error, name containing double slashes #43

Closed TheMinimazer closed 6 months ago

TheMinimazer commented 6 months ago

When trying to import a json file into UE5.3.2 (using JAA v1.3.0 from 5.3.2-Win.zip), Unreal Engine crashes, spitting out the following error:

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\UObject\UObjectGlobals.cpp] [Line: 985] Attempted to create a package with name containing double slashes. PackageName: //DrugDatabase

UnrealEditor_CoreUObject
UnrealEditor_JsonAsAsset!FAssetUtilities::CreateAssetPackage() [H:\Other\UE5.3.1\532 attempt 2\DrugDealerSimulator2\Plugins\JsonAsAsset\Source\JsonAsAsset\Private\Utilities\AssetUtilities.cpp:106]
UnrealEditor_JsonAsAsset!IImporter::HandleExports() [H:\Other\UE5.3.1\532 attempt 2\DrugDealerSimulator2\Plugins\JsonAsAsset\Source\JsonAsAsset\Private\Importers\Importer.cpp:259]
UnrealEditor_JsonAsAsset!IImporter::ImportReference() [H:\Other\UE5.3.1\532 attempt 2\DrugDealerSimulator2\Plugins\JsonAsAsset\Source\JsonAsAsset\Private\Importers\Importer.cpp:198]
UnrealEditor_JsonAsAsset!FJsonAsAssetModule::PluginButtonClicked() [H:\Other\UE5.3.1\532 attempt 2\DrugDealerSimulator2\Plugins\JsonAsAsset\Source\JsonAsAsset\Private\JsonAsAsset.cpp:268]
UnrealEditor_JsonAsAsset!TBaseRawMethodDelegateInstance<0,FJsonAsAssetModule,void __cdecl(void),FDefaultDelegateUserPolicy>::ExecuteIfSafe() [H:\Other\Epic Games\UE_5.3\Engine\Source\Runtime\Core\Public\Delegates\DelegateInstancesImpl.h:534]
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_Slate
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
UnrealEditor_ApplicationCore
user32
user32
UnrealEditor_ApplicationCore
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll
Liimiitz commented 6 months ago

I've had that error once, make sure your export file path doesn't have a / at the end

TheMinimazer commented 6 months ago

@Liimiitz that was in part my issue, the other being I had accidentally set the export file path to a folder inside the actual export folder. I am no longer having this issue, and I hope if anyone else has this issue they see this and learn from my mistakes