glTF assets loading issue
Hi,
I am trying to load .glTF assets defined with relative paths and getting these exceptions:
java.io.FileNotFoundException: /data/user/0/com.arapp.factory/cache/1540463947423-0/../shared/lolipop.bin
CompletionException: java.io.FileNotFoundException: /data/user/0/com.arapp.factory/cache/1540466822606-0/0/glass1_transparent.png
Here is an .glTF fragment:
"buffers" : [
{
"byteLength" : 2433560,
"uri" : "../shared/lolipop.bin"
}
],
"images" : [
{
"name" : "glass1_transparent",
"uri" : "/0/glass1_transparent.png"
},
{
"name" : "glass2_transparent",
"uri" : "../shared/glass2_transparent.png"
}
]
Would help with organizing shared assets such as .bin and some textures. E.g. multiple furniture variations. Currently everything has to be placed in the same folder.
I tried many variations and It does fail even in cases when you go only "deep" in folder structure. Am I doing something wrong or it is by design? Would be great adding that feature. Thanks
The issue is that RenderableSource call method doesn't download correctly the files that are in a subfolder, compared to the location of the gltf file.
I have the same problem. Is there a workaround or somewhere a fix?
I have the same problem. Is there a workaround or somewhere a fix?