SimObjects Are Causing Absolute Path Warnings

Version: 1.9.18.0

Frequency: Consistently

Severity: Low

Bug description: Every time I build my project and only since SU7 latest version (1.9.18.0) a warning displays “Validate GLTF Files: Found absolute path in image or buffer URI, this, could be an issue” . The warning doesn’t specify any file, which makes it very difficult to find the culprit.

I tried to find the culprit using PowerShell, I searched every .gltf file for an absolute path, and couldn’t find one. The only thing I noticed is that the newer blender exporter, exported the .gltf files using forward slash (/) on it’s URI, when the older exports did it with a back slash (\).

I found out that the forward slash is the one supposed to be used in a .gltf URI paths, so I changed all the older exports to be using forward slash. But the warning still appeared.

I also tried to find the culprit by excluding assets and came to the conclusion that the problem doesn’t come from the general scenery models but from SimObjects specifically, when I remove SimObjects the warning disappears. I checked and there’s no absolute paths on those files too, there’s something in there that’s causing the issue. Even after re-exporting them with the latest SDK the problem remains.

I’m using the same structure as used in the Bears sample provided with the SDK, multiple [fltsim] in the same .cfg. When I build that sample as a test, the warning also appears.

Repro Steps: Open Sample ..\DevmodeProjects\SimObjects\Animals\Bears and build the project, notice the warning message “Validate GLTF Files: Found absolute path in image or buffer uri, this, could be an issue” in the inspector or in the Command Prompt window.

I can confirm we are also getting this warning message when building packages since SU7. I hadn’t attempted to narrow it down, but all our packages contain simobjects, so that would correspond with OP.

1 Like

Hello @Bikuafuro and @Gobby ,

Quick question: which version of the SDK do you have?

Hello @PowerGecko ,

I’m using version 1.8.1.

1 Like

Me too
(On some su6 sdk version, but is related? Isn’t fspackagetool supposed to launch the game for compile?)

the same here with SU7 and 1.8.1 - 2603316

1 Like

Re,

I have reproduce the issue.
The bug has been logged on our side.
Thanks for the report.

3 Likes

Me too, with the public version of SU7 (i was not part in the beta) and the SDK Update 1.8.1.
I don’t think I remember having this warning on SU6.

Does it have any effects outside of the warnings ? So far I didn’t found any impact fortunately (the only SimObject i have is for my flags

1 Like