Justin Braben

Results 8 comments of Justin Braben

As a workaround, I can delete the contents of my .godot folder to reopen the project successfully. But trying to open the `player_beam.tscn` will bring back the crashes.

Ok! I figured I was probably doing something odd. Thank you for looking at it

@gth1030 When I was experiencing this I cleared the contents of the .godot folder and was able to reopen my project. I ended up deleting the problem object and rewriting...

With #21643 merged I think you can comment out the fs and fs.Dir compile errors now!

Worth mentioning I got the original `mem.sliceTo(path_w, 0)` from the function `isAbsoluteWindowsW` , which is asserted before most of these W calls. ```zig pub fn isAbsoluteWindowsW(path_w: [*:0]const u16) bool {...

Ok landed on this ```zig pub fn symLinkAbsoluteW( target_path_w: [*:0]const u16, sym_link_path_w: [*:0]const u16, flags: Dir.SymLinkFlags, ) !void { assert(path.isAbsoluteWindowsW(target_path_w)); assert(path.isAbsoluteWindowsW(sym_link_path_w)); return windows.CreateSymbolicLink(null, mem.span(sym_link_path_w), mem.span(target_path_w), flags.is_directory); } ```

@linusg I switched the sliceTo to mem.span . Think it's ready for another look.