Mesh store folders' names problem (yes)

lcnvdl posted this 17 August 2016

I'm having troubles moving the project from a folder to another. The folders inside mesh store have names too biggers... Can you solve this ? Maybe using more short names, verifying the folder existence before generate one ?

PD: I'm using Windows 10 and Unity 5.3.5, with the lastest version of Pica Voxel.

PD2: The folder name is "61396537626361632d633066322d343066622d383162632d636264656164383563383431".. I think that is innecessary long

Best regards, Lucho Rasente

Last edited 17 August 2016

Order By: Standard | Newest | Votes
GarethIW posted this 17 August 2016

Alright, I had a quick stab at this. The whole ID system in PicaVoxel probably needs a rewrite to produce much smaller IDs which I don't have time to do right now, but I have managed to shave off around 30 characters or so with a quick hack.

You will need to replace Volume.cs, Frame.cs, Chunk.cs and Editor/VolumeEditor.cs with the above (there are 4 files on that Gist)

Note that this will not fix your current project. To do so, you will need to make the above changes and then delete the MeshStore folder. After that, you will need to highlight each Volume in your scene in the hierarchy, at which point it will re-create the mesh assets with the shorter paths.

lcnvdl posted this 17 August 2016

Thank you very much ! Tonight I'll apply this patch.

Best regards, Lucho Rasente

Our 116 members have posted 443 times in 105 discussions