Open MortimerMcMire opened 1 year ago
Hmm the latest version worked fine for me with Alpha 14, but I will try again.
Is this on Windows? Or on Mac/Linux? And which version of TBLoader are you using?
Windows, using 0.1.1 -I opened Alpha 14 in a brand new project -Installed 0.1.1 from the asset store -Closed and reopened Godot, then enabled TBLoader -Put a single TBLoader node in my tree and set the map to the default Trenchbroom map. (No other options were changed) -Clicked Build Meshes
The window hangs for a few seconds and then Godot crashes. Maybe there's a step in there I'm missing
I just followed the exact steps you wrote, and it works for me:
Can you post the exact .map
file you are using? Perhaps there's some differences there.
Sure, this is just the default cube output from TB
// Game: Godot // Format: Standard // entity 0 { "classname" "worldspawn" // brush 0 { ( -64 -64 -16 ) ( -64 -63 -16 ) ( -64 -64 -15 ) TB_empty 0 0 0 1 1 ( -64 -64 -16 ) ( -64 -64 -15 ) ( -63 -64 -16 ) __TB_empty 0 0 0 1 1 ( -64 -64 -16 ) ( -63 -64 -16 ) ( -64 -63 -16 ) TB_empty 0 0 0 1 1 ( 64 64 16 ) ( 64 65 16 ) ( 65 64 16 ) TB_empty 0 0 0 1 1 ( 64 64 16 ) ( 65 64 16 ) ( 64 64 17 ) __TB_empty 0 0 0 1 1 ( 64 64 16 ) ( 64 64 17 ) ( 64 65 16 ) TB_empty 0 0 0 1 1 } }
Yeah that's the exact same file as I have :(
Are you able to compile TBLoader manually (in debug mode) and attach a debugger?
Exception thrown: read access violation.
I apologize if you've been spending time on this, but I found the error. I did some detective work and studied your screenshot. You can't have TBLoader as the root node in a scene when you Build Meshes - it has to be a child of a Node3D, or you crash.
Oh, interesting! Thanks for checking this. I might be able to fix this though! So I'll re-open this issue for now.
Godot 4 alpha 12 and Godot 4 alpha 14 both crash when building the default Trenchbroom map (single untextured block). Default TBLoader node settings