Hello Sam,
The issue is related to the size of your YTD file. Make sure that your YTD file is NOT above 15.00 Mb. If it is I insist you take a look at the textures in OpenIV and change the compression or size of the texture to make it a bit smaller. For instance, if you added a livery to the vehicle make sure that it is 2048x2048 or Lower in canvas size. You can do this in Photoshop, PaintDotNet or any image editing software.
But what about the vehicles crashing, it seems that It has something to do with that resource, because every vehicle from that resource makes my game crash, I reinstalled the whole resource, still no change.
You did not post the crash error you are getting. If you post I may be able to help you. The issue with adding large vehicle packs is you do not know who formed the Metas therefore they could be formed improperly.
You should get a generic crash code(i.e. Kilo-march-papa, Virginia-whiskey-Frank, etc.) are you getting one of these generic crash errors? or just the thing saying to restart your game +f320c5?
This might be the origin of your issue, or at least an allusion to the clue behind the actual reason for why the vehicle add-ons within your resource are crashing your FiveM client.
These posts and the information they provide should at least be allusive towards the potential inconveniences and dangers of merging your vehicle add-ons’ .meta files. Personally I don’t believe that anyone should be attempting to install any vehicle add-on in this particular fashion, regardless of how convenient this method may actually appear to be. There are other ways that I believe are significantly more convenient to install vehicle add-ons with than the aforementioned one.
Of course I don’t entertain that particular method of installing any vehicle add-ons within my own resource myself, but that still doesn’t mean that there aren’t other alternatively available methods that you are able to attempt.
Even then, you really should opt to install each vehicle add-on within your resource in a more linear or intuitive fashion as I’ve done in order to minimize or even eliminate the possibility of crashing your FiveM client on behalf of a problematic vehicle add-on. I’m willing to help you do that myself, and shown below is the way that my vehicle resource is structured.
Personally I find it far easier to individually install and manage each vehicle add-on within my resource itself, because I not only have total control over the installation and management of the add-ons themselves, but also the potentiality itself of any issue(s) involving them that may manifest within my server.