Meshes broken after export

[SOLVED] The motorbikes were in resources folder, and they were bigger then 4GB. This behavior is also a bug (I think) but the solution is simply to move motorbikes out of the resources folder to assets folder.

[UPDATE] No folder shoud be bigger that 4 GB, you just need to split them.

[UPDATE 2] You have to remove it from resources into separate folder… some motorbikes were still crashing the game upon being rendered. I fixed it ty turning on compression.

Hello,

I am making motorbike game, I instatiate a motorbike in a garage: in editor it works fine (every time I change a vehicle a instantiate a new one). On my old laptom it worked, but a week ago I had to switch laptops and it had broken meshes in export (just switch only). The rest of the game is fine. I am using Unity collab.

I have tried to change shaders, refresh and reimport folder with models. I think that the problem is that the reference in mesh filter unasigns the mesh.

Editor


https://drive.google.com/file/d/11SRe3qOmkCyuheAnMBIVFHo1bcWfses2/view?usp=sharing

Build


https://drive.google.com/file/d/1RWhiB5xTaQ0j3exCY5SRZ64nJrRWS0Ri/view?usp=sharing

Do you have any idea how to fixt it? :confused:

Thanks a lot!

Petr

Hello @Simunek , please follow the steps detailed here to submit a bug report - this will allow us to investigate this further:

1 Like

Hi, I have just solved the problem, the motorbikes were in resources folder, and they were bigger then 4GB. This behavior is also a bug (I think) but the solution is simply to move motorbikes out of the resources folder to assets folder.

UPDATE: No folder shoud be bigger that 4 GB, you just need to split them.

Update 2: You have to remove it from resources into separate folder… some motorbikes were still crashing the game upon being rendered. I fixed it ty turning on compression.

Thanks for the updates, @Simunek - happy to hear you were able to get this sorted.