Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

By the single screenshot and short description, the tools seems nice. I'm using it for the first time, but I'm getting errors trying to import a file. I went to native feature File > Import and selected a .glb file.

[error] E0701 lowering: import "\?\C:\Users\…\Door (0x73edf993.g1m).glb" is relative but no source directory is set; pass an absolute path or call `lower_with_source` with the importing file's directory

It shouldn't be a relative path, as I browsed directly to the folder. I thought it could be something with the parsing and tried escaping \\ and switching to /, but it gave me the same error E0701, but with a different message.

[error] E0701 lowering: reading imported file \\?\C:\Users\…\Door (0x73edf993.g1m).glb

Then I thought it could be spaces or a long path, so I put it in C:/3DAssets/Door(0x73edf993.g1m).glb (no spaces), and the same error appears. Is it something wrong with my file? Thanks in advance.

Thanks for the detailed report, and you're right, your file wasn't the problem. Studio's File > Import had two bugs. It didn't escape backslashes in Windows paths, so \\?\C:\... was read as a relative path. It also added .glb files as import statements, which only work with .mog modules, so a binary GLB could never load.

Both are fixed in v0.2.1. Importing a .glb now adds it to the scene as mesh "mesh" (src="...") with the path escaped correctly. Please update and try again. If it still fails, especially with a "decoding mesh" or "parsing GLB" error, could you send me the file? Some converted models use compression or external buffers that I'd need to look at.