Error: Error in Feature pack C:/Program Files/Epic Games/UE_5.0/FeaturePacks/TP_VirtualRealityBP.upack. Failed to parse manifest: Invalid Json Token. Line: 43 Ch: 4

Hi There I have an issue with packaging after .NET installation:
everything is successful except this notification:

Error: Error in Feature pack C:/Program Files/Epic Games/UE_5.0/FeaturePacks/TP_VirtualRealityBP.upack. Failed to parse manifest: Invalid Json Token. Line: 43 Ch: 4

Here is my log information can someone please help me with what I am missing?

LogStreaming: Warning: Failed to read file ‘…/…/…/Engine/Content/Slate/Slate/Common/Spinbox.png’ error.
LogStreaming: Warning: Failed to read file ‘…/…/…/Engine/Content/Slate/Slate/Common/Spinbox_Fill.png’ error.
LogStreaming: Warning: Failed to read file ‘…/…/…/Engine/Content/Slate/Slate/Common/Spinbox.png’ error.
LogStreaming: Warning: Failed to read file ‘…/…/…/Engine/Content/Slate/Slate/Common/Spinbox_Fill.png’ error.
LogStreaming: Warning: Failed to read file ‘…/…/…/Engine/Content/Slate/Slate/Common/Spinbox.png’ error.
LogStreaming: Warning: Failed to read file ‘…/…/…/Engine/Content/Slate/Slate/Common/Spinbox_Fill.png’ error.
LogStreaming: Warning: Failed to read file ‘…/…/…/Engine/Content/Slate/Slate/Common/Spinbox.png’ error.
LogStreaming: Warning: Failed to read file ‘…/…/…/Engine/Content/Slate/Slate/Common/Spinbox_Fill.png’ error.
LogBlueprint: Warning: [AssetLog] F:\COSTA CRUISE\Theatre Colosseo Interaction Game\04_Unreal Engine ()\Theatre Colosseo Interaction Game\Content\UltraDynamicSky\Blueprints\Ultra_Dynamic_Sky.uasset: [Compiler] Set Reflection Sample Count Scale : Usage of ‘Set Reflection Sample Count Scale’ has been deprecated. This function has been replaced by SetReflectionViewSampleCountScale.
LogBlueprint: Warning: [AssetLog] F:\COSTA CRUISE\Theatre Colosseo Interaction Game\04_Unreal Engine ()\Theatre Colosseo Interaction Game\Content\UltraDynamicSky\Blueprints\Ultra_Dynamic_Sky.uasset: [Compiler] Set Shadow Reflection Sample Count Scale : Usage of ‘Set Shadow Reflection Sample Count Scale’ has been deprecated. This function has been replaced by SetShadowReflectionViewSampleCountScale.
LogBlueprint: Warning: [AssetLog] F:\COSTA CRUISE\Theatre Colosseo Interaction Game\04_Unreal Engine ()\Theatre Colosseo Interaction Game\Content\AdvancedLocomotionV4\Blueprints\AnimModifiers\Calculate_RotationAmount.uasset: [Compiler] Finalize Bone Animation : Usage of ‘Finalize Bone Animation’ has been deprecated. FinalizeBoneAnimation has been deprecated, use UAnimDataController instead
LogLinker: Warning: [AssetLog] F:\COSTA CRUISE\Theatre Colosseo Interaction Game\04_Unreal Engine ()\Theatre Colosseo Interaction Game\Content\3D_Assets\PROPS\Logo_ViZmo\Geometries\Extrude_2.uasset: Failed to load ‘/Game/PROPS/Logo_ViZmo/Materials/Mat’: Can’t find file.
LogLinker: Warning: VerifyImport: Failed to load package for import object ‘Package /Game/PROPS/Logo_ViZmo/Materials/Mat’
LogLinker: Warning: [AssetLog] F:\COSTA CRUISE\Theatre Colosseo Interaction Game\04_Unreal Engine ()\Theatre Colosseo Interaction Game\Content\3D_Assets\PROPS\Logo_ViZmo\Geometries\Extrude_2.uasset: Failed to load ‘/Game/PROPS/Logo_ViZmo/Materials/Mat_1’: Can’t find file.
LogLinker: Warning: VerifyImport: Failed to load package for import object ‘Package /Game/PROPS/Logo_ViZmo/Materials/Mat_1’
LogFeaturePack: Error: Error in Feature pack C:/Program Files/Epic Games/UE_5.0/FeaturePacks/TP_VirtualRealityBP.upack. Failed to parse manifest: Invalid Json Token. Line: 43 Ch: 4
LogUObjectGlobals: Warning: Failed to find object ‘Class None.Physics’

12 Likes

I have the same error for this file.

I do see the character , around where line 43 would be of the json portion of that file where a comma should be. I believe this character is a utf-8 expanded comma. Perhaps whatever is parsing this file is stumbling on this. I’m fairly new to unreal engine so I’m not sure how to resolve this. I don’t know if it’s safe to simply manually edit these characters.

For reference:

	"AssetTypes": [
		{
			"Language": "en",
			"Text": "Sound Cue, Haptic Feedback Effect Curve, Niagara System."
		},
		{
			"Language": "ko",
			"Text": "사운드 큐, 햅틱 피드백 이펙트 커브, 나이아가라 시스템"

		}
	],
4 Likes

I have the same problem.
Builds are compiling but the size is half of what it should be, and it just launch to an empty black environment in the Quest :frowning:
Any solution ? Just editing this JSON file (don’t even know where it is) to replace “,” with “,” does the job ?

1 Like

Where is this file to edit? I don’t know how to open “TP_VirtualRealityBP.upack”

1 Like

I don’t know if that’s safe to do… that’s what I’m asking, too. Ideally Epic would comment or just fix this and we can update.

1 Like

I’m having the same issue, and tried almost everything

Failed to parse manifest: Invalid Json Token. Line: 43 Ch: 4

what does this means? TnT Help Epic!

1 Like

I have the same error when I start a new blank project with starter content. If I uncheck the starter content, it can load without error.

Hope this can help!

1 Like

thanks for the help, just wanted to ask, where do you uncheck that ? 7_7
thanks in advance!

I noticed this error as well but initially ignored as it wasn’t marked “Fatal” but was concerned it may cause packaging issues for me. Just tested this and at least for me (an existing project) I was able to package without issue. I am not using VR in my game and was sure to look at the plugins, search for VR and ensure that all of them were turned off (which they were).

This bug was definitely introduced in 5.0.3 as this error was not occurring in 5.0.2 and I can see that pack file was recently updated. I don’t think you can edit this without a source build as a “upack” file is binary and similar to a zip file but also introduces compression and is a custom format. Is there any existing issue to track?

3 Likes

Personnally I tried renaming the StarterContent folder and at Unreal launch it recreated an empty one and I don’t have the error anymore.

Though it’s still compiling my Oculus project with a small size package (260Mo instead of 600Mo usually) that won’t run in the Quest :frowning: So it looks like it was not related.

Any idea on what could cause this ?

Am have the same ERROR but after packaging I can see the game folder packaged and downloaded and am clicking on the game icon and its not opening nothing is happing, is this because of this error or am having other problem??.

I had the same problem when packages project with . Is there any way to fix this error?

Renamed StarterContent folder so Unreal created a new empty folder, started a new empty project VR, and migrated my maps from the old one to the new one. Now it’s working.

No it didn’t work and i got another ERROR
PackagingResults: Error: GameDefaultMap contains a redirected reference ‘/Game/Untitled’. The intended asset will fail to load in a packaged build. Select the intended asset again in Project Settings to fix this issue.

I changed the file name Starter Content.
Created a new project
and migrated my level to the new project but the error still appeared. Am I doing missing something? Thank you!

Did you unchecked “starter content” when creating the new project ? Otherwise it will create the buggy file again I guess.

Didn’t work, the error still appeared.

To fix this error i copied the same file C:/Program Files/Epic Games/UE_5.0/FeaturePacks/TP_VirtualRealityBP.upack, from version 4.27 to the version 5 folder. Hope it works for you too.:grinning:

6 Likes

I am having the same issue, Tried everything mentioned here but nothing worked!

Same here.