TheDuckCow / godot-road-generator

A godot plugin for creating 3D highways and streets.
MIT License
364 stars 19 forks source link

Fixed initial startup errors on plugin not available #58

Closed TheDuckCow closed 1 year ago

TheDuckCow commented 1 year ago

All tests pass (not that test coverage would realistically affect this):

4 passed 0 failed. Tests finished in 0.0s

bdog2112 commented 1 year ago

Further investigation of this issue, at least pertaining to PNG imports, indicates that Godot only throws an error message about the first image it fails to import. You can recreate the problem by deleting the ".import" folder, which contains the .stex files for ALL imported images.

So, if you delete all of the .stex files except the ones for gizmo_blue_handle.png, then it will throw an error message for the next image to be loaded: "road_point.png".

The solution indicated by the error message is: "Make sure resources have been imported by opening the project in the editor at least once." That seems to be THE solution.

An alternative solution would be to store the .import folder with the project on GitHub.