godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.44k stars 19.26k forks source link

Closing a opened glb scene shows a dialog with: "Requested file format unknown: glb" #55125

Open rcorre opened 2 years ago

rcorre commented 2 years ago

Godot version

3.4.stable.arch_linux

System information

Linux

Issue description

Sometimes I quickly open a .glb scene to check if animations/etc look right in godot. When I close it, a dialog pops up that gets in the way. I haven't actually made any changes to the scene, so Godot shouldn't be trying to save it. This only happens with the "Close Scene" keyboard shortcut, not when clicking the X.

Steps to reproduce

  1. Open a .glb scene
  2. Select "open anyways"
  3. Press ctrl+shift+w (the shortcut for "Close Scene")
  4. See a dialog saying "Requested file format unknown: glb"

Minimal reproduction project

example.zip

rcorre commented 2 years ago

Possibly related: https://github.com/godotengine/godot/issues/29327

gdzenox commented 2 years ago

also happen to me when trying to save

Calinou commented 2 years ago

This will likely be fixed by https://github.com/godotengine/godot/pull/42367 once it's merged.

dan1229 commented 2 years ago

Also facing this issue - godot 3.4.3

Donitzo commented 1 year ago

Has there been any progress on this issue? My main scene resides in a GLB file and each time I run the game I get this message. I've clicked "OK" thousands of times by now.

Calinou commented 1 year ago

Has there been any progress on this issue? My main scene resides in a GLB file and each time I run the game I get this message. I've clicked "OK" thousands of times by now.

The fix implemented by https://github.com/godotengine/godot/pull/42367 was considered too hacky to be mergeable, but I just redid it so it no longer hardcodes the list of imported scene extensions. It should be good to merge now, but it'll need a separate PR for 3.x as it uses different coding conventions.

Donitzo commented 1 year ago

Thank you, much appreciated. That is very helpful when a model file is used as main scene of the game.

eka commented 3 days ago

This happens to me in v4.3.beta2.mono.official [b75f0485b]