Incorrect bounding box when defold is not opened through steam

Hello, I think I’ve found a bug on the linux client of Defold V1.10.3
It’s not breaking the program, but annoying when

Problem:

Opening defold through the file located here:
/home/<username>/.steam/debian-installation/steamapps/common/Defold/Defold makes all the bounding boxes for all models load improperly.
Opening defold through steam makes all the bounding boxes load properly.

The reason for why I wanted to open the Defold file directly is because when it’s opened through steam it has incorrect access rights and doesn’t seem to have a proper read access. Because I get the following when trying to open a PNG file in defold:


But if I modify the Defold file so it has read access, then it opens the PNG correctly in the image above. But then I get all the annoying issues explained below which must be a bug.

The value for the near parameter of the camera used in the model viewer within defold is set to some value that makes the model not render properly. Also the bounding box looks very weird. Perhaps the 2 are related.

If I press the 2D button at the top center of the image, the 3D-model disappears completely and I only see the outlined rectangle.

Example 1:


Here the bounding box is a flat rectangle, no volume

Example 2.a:


Here the bounding box is just a point

Example 2.b:


The far parameter gets very short when viewed in orthographic view inside of the model viewer.
I think it has something to do with the fact that the bounding box is just a point.

Example 3:


For some models the near & far are relatively OK set, but the bounding box looks very strange, it’s not covering the entire 3D model.

Example 4:


Here the model is outside of the bounding box.

Everything looks correct in main.collection:
And if I look at a door and a barrel in the main.collection it works just fine.

All models are taken from here:

I am using linux, kubuntu to be exact.
I installed Defold through steam.
I am using the latest version which is Defold V1.10.3

running lsb_release -a gives me:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.2 LTS
Release: 24.04
Codename: noble