Failed to parse resources

To receive support, please fill out the following template, and remove this top text.

GTA V version?
Up to date? Yes
Legit or Pirate copy? Legit
Steam/CD/Social Club? Steam
Windows version? 10
Did you try to delete caches.xml and try again? No
Error screenshot (if any)


System specifications image
What did you do to get this issue? .Metal files
What server did you get this issue on? Test server atm
CitizenFX.log file
.dmp files/report IDs

If an issue with starting:
GTA V folder screenshot
GTA V/update/x64/dlcpacks screenshot
Filepath to FiveM folder
FiveM client folder screenshot
Did you try to disable/uninstall your Anti-virus?

Also add what you already tried so far.

Hello there,

Me and a few people are getting a role play server ready for FiveM however we want to add custom cars which we have done perfectly and the normal citizen cars work however when it comes down to police cars and so forth we have converted them from replacements to addon’s i done this personally myself, i followed a guide and done every step correctly i done it with only one car to start with and it worked but when i tried converting the pack and the owner put it in the server and we tried to spawn it did not spawn, i done exactly the same steps as the test car i done but nothing, when we was looking through the console we found this error https://media.discordapp.net/attachments/556945417410052106/564169059877388313/unknown.png?width=964&height=43 i have not found anything online and i have checked through .meta files and the resources.lua and i cant seem to find a fault with it i have renamed the .ytd and .ytf files and still nothing so i came here for some advice

Hope that you can help

Thanks in advance.

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the FiveM community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

Looks like the vehicle.meta is wrong/corruped maybe show the file

This is the .meta file with the car that works

<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfo__InitDataList>
	<residentTxd>vehshare</residentTxd>
	<residentAnims />
	<InitDatas>
	<Item>
			<modelName>fpiustate</modelName>
			<txdName>fpiustate</txdName>
			<handlingId>POLICE3</handlingId>
			<gameName>fpiustate</gameName>
			<vehicleMakeName/>
			<expressionDictName>null</expressionDictName>
			<expressionName>null</expressionName>
			<animConvRoofDictName>null</animConvRoofDictName>
			<animConvRoofName>null</animConvRoofName>
			<animConvRoofWindowsAffected/>
			<ptfxAssetName>null</ptfxAssetName>
			<audioNameHash>POLICE3<audioNameHash/>
			<layout>LAYOUT_STD_EXITFIXUP</layout>
			<coverBoundOffsets>POLICE3_COVER_OFFSET_INFO</coverBoundOffsets>
			<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
			<scenarioLayout/>
			<cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
			<aimCameraName>MID_BOX_VEHICLE_AIM_CAMERA</aimCameraName>
			<bonnetCameraName>VEHICLE_BONNET_CAMERA_MID_NEAR</bonnetCameraName>
			<povCameraName>DEFAULT_POV_CAMERA</povCameraName>
			<FirstPersonDriveByIKOffset x="0.000000" y="-0.060000" z="-0.030000"/>
			<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="-0.020000"/>
			<FirstPersonProjectileDriveByIKOffset x="0.055000" y="-0.075000" z="-0.045000"/>
			<FirstPersonProjectileDriveByPassengerIKOffset x="-0.055000" y="-0.075000" z="-0.045000"/>
			<FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.060000" z="-0.030000"/>
			<FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonMobilePhoneOffset x="0.130000" y="0.275000" z="0.530000"/>
			<FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000"/>
			<FirstPersonMobilePhoneSeatIKOffset>
				<Item>
					<Offset x="0.136000" y="0.156000" z="0.445000"/>
					<SeatIndex value="2"/>
				</Item>
				<Item>
					<Offset x="0.136000" y="0.156000" z="0.445000"/>
					<SeatIndex value="3"/>
				</Item>
			</FirstPersonMobilePhoneSeatIKOffset>
			<PovCameraOffset x="0.000000" y="-0.175000" z="0.675000"/>
			<PovCameraVerticalAdjustmentForRollCage value="0.000000"/>
			<PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000"/>
			<PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000"/>
			<vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
			<shouldUseCinematicViewMode value="true"/>
			<shouldCameraTransitionOnClimbUpDown value="false"/>
			<shouldCameraIgnoreExiting value="false"/>
			<AllowPretendOccupants value="true"/>
			<AllowJoyriding value="false"/>
			<AllowSundayDriving value="false"/>
			<AllowBodyColorMapping value="false"/>
			<wheelScale value="0.244000"/>
			<wheelScaleRear value="0.244000"/>
			<dirtLevelMin value="0.000000"/>
			<dirtLevelMax value="0.000000"/>
			<envEffScaleMin value="0.000000"/>
			<envEffScaleMax value="1.000000"/>
			<envEffScaleMin2 value="0.000000"/>
			<envEffScaleMax2 value="1.000000"/>
			<damageMapScale value="0.600000"/>
			<damageOffsetScale value="1.000000"/>
			<diffuseTint value="0x00FFFFFF"/>
			<steerWheelMult value="1.000000"/>
			<HDTextureDist value="5.000000"/>
			<lodDistances content="float_array">
        15.000000
        30.000000
        70.000000
        140.000000
        500.000000
        500.000000
      </lodDistances>
			<minSeatHeight value="0.83"/>
			<identicalModelSpawnDistance value="20"/>
			<maxNumOfSameColor value="10"/>
			<defaultBodyHealth value="1000.000000"/>
			<pretendOccupantsScale value="1.000000"/>
			<visibleSpawnDistScale value="1.000000"/>
			<trackerPathWidth value="2.000000"/>
			<weaponForceMult value="1.000000"/>
			<frequency value="100"/>
			<swankness>SWANKNESS_0</swankness>
			<maxNum value="2"/>
			<flags>FLAG_HAS_LIVERY FLAG_EXTRAS_ALL FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_HAS_INTERIOR_EXTRAS FLAG_REPORT_CRIME_IF_STANDING_ON</flags>
			<type>VEHICLE_TYPE_CAR</type>
			<plateType>VPT_BACK_PLATES</plateType>
			<dashboardType>VDT_GENTAXI</dashboardType>
			<vehicleClass>VC_EMERGENCY</vehicleClass>
			<wheelType>VWT_SPORT</wheelType>
			<trailers/>
			<additionalTrailers/>
			<drivers>
				<Item>
					<driverName>S_M_Y_Cop_01</driverName>
					<npcName/>
				</Item>
			</drivers>
			<extraIncludes/>
			<doorsWithCollisionWhenClosed/>
			<driveableDoors/>
			<bumpersNeedToCollideWithMap value="false"/>
			<needsRopeTexture value="false"/>
			<requiredExtras/>
			<rewards>
				<Item>REWARD_WEAPON_PUMPSHOTGUN</Item>
				<Item>REWARD_AMMO_PUMPSHOTGUN_ENTER_VEHICLE</Item>
				<Item>REWARD_STAT_WEAPON</Item>
			</rewards>
			<cinematicPartCamera>
				<Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
				<Item>WHEEL_FRONT_LEFT_CAMERA</Item>
				<Item>WHEEL_REAR_RIGHT_CAMERA</Item>
				<Item>WHEEL_REAR_LEFT_CAMERA</Item>
			</cinematicPartCamera>
			<NmBraceOverrideSet/>
			<buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000"/>
			<buoyancySphereSizeScale value="1.000000"/>
			<pOverrideRagdollThreshold type="NULL"/>
			<firstPersonDrivebyData>
				<Item>STD_POLICE3_FRONT_LEFT</Item>
				<Item>STD_POLICE3_FRONT_RIGHT</Item>
				<Item>STD_POLICE2_REAR_LEFT</Item>
				<Item>STD_POLICE2_REAR_RIGHT</Item>
			</firstPersonDrivebyData>
		</Item>
	</InitDatas>
	<txdRelationships>
   
	</txdRelationships>
</CVehicleModelInfo__InitDataList>

And this is the .meta file for the car that does not work

<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfo__InitDataList>
	<residentTxd>vehshare</residentTxd>
	<residentAnims />
	<InitDatas>
	<Item>
			<modelName>statecv</modelName>
			<txdName>statecv</txdName>
			<handlingId>POLICE3</handlingId>
			<gameName>statecv</gameName>
			<vehicleMakeName/>
			<expressionDictName>null</expressionDictName>
			<expressionName>null</expressionName>
			<animConvRoofDictName>null</animConvRoofDictName>
			<animConvRoofName>null</animConvRoofName>
			<animConvRoofWindowsAffected/>
			<ptfxAssetName>null</ptfxAssetName>
			<audioNameHash>POLICE<audioNameHash/>
			<layout>LAYOUT_STD_EXITFIXUP</layout>
			<coverBoundOffsets>POLICE3_COVER_OFFSET_INFO</coverBoundOffsets>
			<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
			<scenarioLayout/>
			<cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
			<aimCameraName>MID_BOX_VEHICLE_AIM_CAMERA</aimCameraName>
			<bonnetCameraName>VEHICLE_BONNET_CAMERA_MID_NEAR</bonnetCameraName>
			<povCameraName>DEFAULT_POV_CAMERA</povCameraName>
			<FirstPersonDriveByIKOffset x="0.000000" y="-0.060000" z="-0.030000"/>
			<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.000000" z="-0.020000"/>
			<FirstPersonProjectileDriveByIKOffset x="0.055000" y="-0.075000" z="-0.045000"/>
			<FirstPersonProjectileDriveByPassengerIKOffset x="-0.055000" y="-0.075000" z="-0.045000"/>
			<FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.060000" z="-0.030000"/>
			<FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000"/>
			<FirstPersonMobilePhoneOffset x="0.130000" y="0.275000" z="0.530000"/>
			<FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.425000"/>
			<FirstPersonMobilePhoneSeatIKOffset>
				<Item>
					<Offset x="0.136000" y="0.156000" z="0.445000"/>
					<SeatIndex value="2"/>
				</Item>
				<Item>
					<Offset x="0.136000" y="0.156000" z="0.445000"/>
					<SeatIndex value="3"/>
				</Item>
			</FirstPersonMobilePhoneSeatIKOffset>
			<PovCameraOffset x="0.000000" y="-0.175000" z="0.675000"/>
			<PovCameraVerticalAdjustmentForRollCage value="0.000000"/>
			<PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000"/>
			<PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000"/>
			<vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
			<shouldUseCinematicViewMode value="true"/>
			<shouldCameraTransitionOnClimbUpDown value="false"/>
			<shouldCameraIgnoreExiting value="false"/>
			<AllowPretendOccupants value="true"/>
			<AllowJoyriding value="false"/>
			<AllowSundayDriving value="false"/>
			<AllowBodyColorMapping value="false"/>
			<wheelScale value="0.244000"/>
			<wheelScaleRear value="0.244000"/>
			<dirtLevelMin value="0.000000"/>
			<dirtLevelMax value="0.300000"/>
			<envEffScaleMin value="0.000000"/>
			<envEffScaleMax value="1.000000"/>
			<envEffScaleMin2 value="0.000000"/>
			<envEffScaleMax2 value="1.000000"/>
			<damageMapScale value="0.600000"/>
			<damageOffsetScale value="1.000000"/>
			<diffuseTint value="0x00FFFFFF"/>
			<steerWheelMult value="1.000000"/>
			<HDTextureDist value="5.000000"/>
			<lodDistances content="float_array">
        15.000000
        30.000000
        70.000000
        140.000000
        500.000000
        500.000000
      </lodDistances>
			<minSeatHeight value="0.83"/>
			<identicalModelSpawnDistance value="20"/>
			<maxNumOfSameColor value="10"/>
			<defaultBodyHealth value="1000.000000"/>
			<pretendOccupantsScale value="1.000000"/>
			<visibleSpawnDistScale value="1.000000"/>
			<trackerPathWidth value="2.000000"/>
			<weaponForceMult value="1.000000"/>
			<frequency value="100"/>
			<swankness>SWANKNESS_0</swankness>
			<maxNum value="2"/>
			<flags>FLAG_HAS_LIVERY FLAG_EXTRAS_ALL FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_HAS_INTERIOR_EXTRAS FLAG_REPORT_CRIME_IF_STANDING_ON</flags>
			<type>VEHICLE_TYPE_CAR</type>
			<plateType>VPT_BACK_PLATES</plateType>
			<dashboardType>VDT_GENTAXI</dashboardType>
			<vehicleClass>VC_EMERGENCY</vehicleClass>
			<wheelType>VWT_SPORT</wheelType>
			<trailers/>
			<additionalTrailers/>
			<drivers>
				<Item>
					<driverName>S_M_Y_Cop_01</driverName>
					<npcName/>
				</Item>
			</drivers>
			<extraIncludes/>
			<doorsWithCollisionWhenClosed/>
			<driveableDoors/>
			<bumpersNeedToCollideWithMap value="false"/>
			<needsRopeTexture value="false"/>
			<requiredExtras/>
			<rewards>
				<Item>REWARD_WEAPON_PUMPSHOTGUN</Item>
				<Item>REWARD_AMMO_PUMPSHOTGUN_ENTER_VEHICLE</Item>
				<Item>REWARD_STAT_WEAPON</Item>
			</rewards>
			<cinematicPartCamera>
				<Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
				<Item>WHEEL_FRONT_LEFT_CAMERA</Item>
				<Item>WHEEL_REAR_RIGHT_CAMERA</Item>
				<Item>WHEEL_REAR_LEFT_CAMERA</Item>
			</cinematicPartCamera>
			<NmBraceOverrideSet/>
			<buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000"/>
			<buoyancySphereSizeScale value="1.000000"/>
			<pOverrideRagdollThreshold type="NULL"/>
			<firstPersonDrivebyData>
				<Item>STD_POLICE3_FRONT_LEFT</Item>
				<Item>STD_POLICE3_FRONT_RIGHT</Item>
				<Item>STD_POLICE2_REAR_LEFT</Item>
				<Item>STD_POLICE2_REAR_RIGHT</Item>
			</firstPersonDrivebyData>
		</Item>
	</InitDatas>
	<txdRelationships>
   
	</txdRelationships>
</CVehicleModelInfo__InitDataList>

The .ytd and .ytf files match up name wise.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.