Texture in Multifile Not Loading

I created a multifile containing all the egg and texture files associated with one of my models, but the texture isn’t loading. The model and animations load though. Any ideas how to get it working?

#Setup VFS
vfs = VirtualFileSystem.get_global_ptr()
vfs.mount("./Pyramid.fluff", "/data", VirtualFileSystem.MF_read_only, 
    "cat")
get_model_path().append_directory("/data")

#Load the model
self.actor = Actor("/data/Pyramid/Pyramid",
    {
        "Wiggle": "/data/Pyramid/Pyramid-Wiggle"
    })
self.actor.set_scale(1, 1, 1)
self.actor.reparent_to(render)
self.actor.loop("Wiggle")

I looked inside the egg file for my model and changed the texture path from “./tex/grid.png” to “/data/Pyramid/tex/grid.png” and it worked. I’m guessing that it requires an absolute path when it’s inside the multifile.

That’s rather odd, relative paths should work fine. You could alternatively try adding /data/Pyramid to your model-path.

Not sure if the OS has to do with it or not, but I’m using Lubuntu 20.04 64-bit.