Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Dependencies on Fresh Imports #108

Open
surapuramakhil opened this issue Jun 6, 2024 · 7 comments
Open

Broken Dependencies on Fresh Imports #108

surapuramakhil opened this issue Jun 6, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@surapuramakhil
Copy link

image

@Scony
Copy link
Contributor

Scony commented Jun 7, 2024

What godot version it is? and what os?

@Scony Scony added the bug Something isn't working label Jun 7, 2024
@ahodgins
Copy link

ahodgins commented Jul 8, 2024

I could replicate the error on my windows 11 machine.

This error occurs when you open it from directly inside of it's folder when downloaded. It will open up in 4.0.

If you import and edit from 4.2.1 or 4.2.2 that error goes away for me but I am experiencing another issue.

In 4.2.2 the load errors issue is resolved but when running the game I get this error attached. This error is not present and runs fine in 4.0.
error

@Scony
Copy link
Contributor

Scony commented Jul 8, 2024

Thanks for info.

As for 4.2.2 - this looks to be not supported yet, as I'm still on 4.2.
As for using 4.1 or 4.0 - those are not supported. If you want to use those Godot versions, you need to use this project with legacy branch such as https://github.com/lampe-games/godot-open-rts/tree/godot-4.1-support or https://github.com/lampe-games/godot-open-rts/tree/godot-4.0-support

@medovina
Copy link

medovina commented Aug 5, 2024

I'm running Ubuntu 24.04.

I cloned godot-open-rts from the repository and attempted to open the project using Godot versions 4.2-stable, 4.2.1-stable and 4.2.2-stable. Unfortunately it failed in every case.

With Godot 4.2 and 4.2.1 I saw these errors:

Failed to load script "res://source/match/units/non-player/ResourceA.gd" with error "Parse error".
Failed to load script "res://source/match/units/non-player/ResourceB.gd" with error "Parse error".
Failed to load script "res://source/match/AirNavigation.gd" with error "Parse error".
Failed to load script "res://source/match/Navigation.gd" with error "Parse error".
Failed to load script "res://source/match/TerrainNavigation.gd" with error "Parse error".

Load failed due to missing dependencies:
res://source/Logos.tscn

With Godot 4.2.2 the errors were similar, but it displayed more information about the missing dependencies in Logos.tscn, as visible in the screenshot at the top of this page.

@medovina
Copy link

medovina commented Aug 6, 2024

In Godot 4.2.2, after all those errors that occur while opening the project, if I try to run the project I see this error:

Parser Error: Could not preload resource file "res://assets/voice/english/battle_control_online.ogg"

However, if I cancel the run, and then run the game a second time, it works fine!

@Scony
Copy link
Contributor

Scony commented Aug 12, 2024

Ok, looks like I need to check this, thanks!

@Scony
Copy link
Contributor

Scony commented Aug 24, 2024

Ok, I can confirm this problem myself. Interestingly, if I quit the project and enter again, the errors are gone. Therefore it must be something related to initial project loading... I'll cross check with Godot 4.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants