Summary
Whenever i try loading a GLB via RGP, it doesn't work. logs suggest that the path to GLB is transformed in some way and so the models can't be found.
Steps to reproduce
- try loading a GLB object, for example:
printf "\033_ratty;g;r;id=80;fmt=glb;path=path/to/a/model.glb\033\\"
- place it
printf "\033_ratty;g;p;id=80;row=12;col=8;w=4;h=4\033\\"
- nothing shows up
Expected behavior
It should load the model relative to cwd like it's the case with OBJ files
Environment
- OS: Arch Linux
- Ratty version / commit: 0.3.0
- GPU / graphics stack: idk
- Config changes: none
Additional context
2026-05-16T13:17:09.948684Z INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon Graphics (RADV RENOIR)", vendor: 4098, device: 5607, device_type: IntegratedGpu, driver: "radv", driver_info: "Mesa 26.0.6-arch1.1", backend: Vulkan }
2026-05-16T13:17:10.091836Z INFO bevy_render::batching::gpu_preprocessing: GPU preprocessing is fully supported on this device.
2026-05-16T13:17:10.096189Z INFO bevy_winit::system: Creating new window Ratty (0v0)
2026-05-16T13:17:10.414754Z INFO vello::wgpu_engine: Initialising shader modules in parallel using 10 threads
2026-05-16T13:17:11.451338Z INFO ratty::model: loaded cursor model from embedded:CairoSpinyMouse.obj (1 mesh parts)
2026-05-16T13:47:17.588435Z INFO ratty::inline: registered RGP object 42 from embedded:Ferris.glb
2026-05-16T13:49:44.909847Z ERROR bevy_asset::server: Path not found: /usr/bin/assets/~/Pobrane/Ferris.glb
2026-05-16T13:50:49.060465Z INFO ratty::inline: registered RGP object 42 from embedded:Ferris.glb
2026-05-16T13:50:49.070637Z ERROR bevy_asset::server: Path not found: /usr/bin/assets/Pobrane/Ferris.glb
2026-05-16T14:03:00.574618Z INFO ratty::inline: registered RGP object 67 from Pobrane/bomber.obj
2026-05-16T15:12:49.541666Z WARN ratty::inline: failed to load RGP object 80: asset not found: assets/Pobrane/pac-man/source/pac-man.glb
Summary
Whenever i try loading a GLB via RGP, it doesn't work. logs suggest that the path to GLB is transformed in some way and so the models can't be found.
Steps to reproduce
Expected behavior
It should load the model relative to cwd like it's the case with OBJ files
Environment
Additional context