Godot compatibility issues

Godot Version

4.2.2

Question

I have run into an issue where I am getting errors when I run my program on Linux, while the rest of my team is running windows, and not getting any errors. Here are the errors that appear when I hit a button that is supposed to go to another scene:

 E 0:00:02:0188   HomeScreen.gd:5 @ _on_play_continue_pressed(): Cannot open file 'res://Levels/test_level.tscn'.
  <C++ Error>    Condition "err != OK" is true. Returning: Ref<Resource>()
  <C++ Source>   scene/resources/resource_format_text.cpp:1643 @ load()
  <Stack Trace>  HomeScreen.gd:5 @ _on_play_continue_pressed() 
E 0:00:02:0188   HomeScreen.gd:5 @ _on_play_continue_pressed(): Failed loading resource: res://Levels/test_level.tscn. Make sure resources have been imported by opening the project in the editor at least once.
  <C++ Error>    Condition "found" is true. Returning: Ref<Resource>()
  <C++ Source>   core/io/resource_loader.cpp:274 @ _load()
  <Stack Trace>  HomeScreen.gd:5 @ _on_play_continue_pressed()

Have you checked that the file path is correct? File paths are case-sensitive on linux but not on Windows, which might have something to do with the problem.

1 Like

looking for L in level if it is capitalized or not