Bug in Speedtree Packing

Ok, I seem to have found an issue. it has to do with the packing of a project contain Speedtree assets. If an assets is imported into say the shape folder. And then you later moved say the mesh and the textures and or materials into separate folders. In this instance I had a vegetation folder under Shapes, Materials, and textures, and I moved the various bits to those folders selecting the “Move” option each time. Everything was fine in the editor. However when the project is packed and then run the trees turn out grey as they have the default grey material.

So at first thought that perhaps the files were not getting loaded into the pak file so I turned it off and rebuilt so that I could see what files were in the directory that was getting packaged. What I found was that every file was where it should be and was the right size but again, the trees loaded with he default material “grey”.

So I spent the next couple hours re-importing and changing this and repacking and nothing I did made any difference. Until I deleted everything back out and using the same original files re-imported the asset and this time I left everything in the root of the shapes folder and then packed it up and everything was perfect.

Now I haven’t tried moving all of the assets to a folder other than the one they are imported into and I have not tried importing them into a folder other than shapes to begin with. Anyway I mean This is really a problem I guess as long as people are told up front about it. But, that being said I think that if they can be showing correctly in the editor the packer could be made to get the altered paths and work correctly as well it would provide a better experience.

I hope that This can save someone else the head ache.

-James

Hello James,

Are you using the move feature or the copy/paste feature? When you move files around to other locations their dependencies remain the same, but if their locations change the dependencies are attempting to reference the original location which no longer exists. I suggest always creating a copy of whatever you are attempting to move and its references so you don’t have this issue. Hope this helps!

Thanks,