godot-open-rts icon indicating copy to clipboard operation
godot-open-rts copied to clipboard

Broken Dependencies on Fresh Imports

Open surapuramakhil opened this issue 1 year ago • 10 comments
trafficstars

image

surapuramakhil avatar Jun 06 '24 23:06 surapuramakhil

What godot version it is? and what os?

Scony avatar Jun 07 '24 07:06 Scony

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

hodginsadam avatar Jul 08 '24 19:07 hodginsadam

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

Scony avatar Jul 08 '24 21:07 Scony

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 avatar Aug 05 '24 20:08 medovina

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!

medovina avatar Aug 06 '24 11:08 medovina

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

Scony avatar Aug 12 '24 10:08 Scony

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.

Scony avatar Aug 24 '24 09:08 Scony

I just did a fresh import from a zip download of the repo and opened with 4.3-stable same errors but no errors after the initial project load and no runtime errors found yet.

adam248 avatar Feb 14 '25 07:02 adam248

I believe this was a Godot problem as a fix is mentioned in 4.4 for this error on first project import. I cannot check just yet but @Scony I think you might get to close this issue soon!

adam248 avatar Mar 04 '25 04:03 adam248

I believe this was a Godot problem as a fix is mentioned in 4.4 for this error on first project import. I cannot check just yet but @Scony I think you might get to close this issue soon!

Thanks! I'll try to retest in with 4.4 once I have some time

Scony avatar Mar 05 '25 17:03 Scony