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

Opening the project gives lots of errors #4

Open
clemens-tolboom opened this issue Feb 10, 2023 · 7 comments
Open

Opening the project gives lots of errors #4

clemens-tolboom opened this issue Feb 10, 2023 · 7 comments

Comments

@clemens-tolboom
Copy link

I run Godot from the commandline.

/Applications/Godot_v3.5.1-stable_osx.universal.app/Contents/MacOS/Godot --verbose --editor

Current path: /Users/clemens/Sites/Godot/FreeRoamRoguelikeRacerPrototype/game
Godot Engine v3.5.1.stable.official.6fed1ffa3 - https://godotengine.org
Using GLES3 video driver
OpenGL debugging not supported!
OpenGL ES 3.0 Renderer: AMD Radeon R9 M370X OpenGL Engine
Async. shader compilation: OFF
OpenGL ES 2D Batching: ON
Batching Options:
	max_join_item_commands 16
	colored_vertex_format_threshold 0.25
	batch_buffer_size 16384
	light_scissor_area_threshold 1
	item_reordering_lookahead 4
	light_max_join_items 32
	single_rect_fallback False
	debug_flash False
	diagnose_frame False
CoreAudio: detected 2 channels
CoreAudio: audio buffer frames: 512 calculated latency: 11ms

Errors

There are tons of error in my console. Below the first two.

Loading resource: res://assets/ground_material.tres
Loading resource: res://objects/spikestrip.tscn <============== Could the errors below come from this?
Loading resource: res://assets/spikestrip.png
ERROR: Cannot get path of node as it is not in a scene tree.
   at: get_path (scene/main/node.cpp:1780)
ERROR: (Node not found: "" (relative to "").)
   at: get_node (scene/main/node.cpp:1466)
ERROR: ViewportTexture: Path to node is invalid.
   at: setup_local_to_scene (scene/main/viewport.cpp:70)
Seed value is 10000001
Seed 10000001
Convex hull: [(25.902197, 206.345459), (40.251659, 153.031036), (193.385071, 17.050364), (198.417786, 92.135857), (185.037781, 184.17746), (144.693451, 246.03717), (25.902197, 206.345459)]
Seed value is 10000001
Seed 10000001
Number of intersections: 8
Sorted inters: [[316.472382, 9], [388.270538, 8], [415.929688, 10], [416.721161, 7], [437.532318, 6], [439.253082, 4], [522.150574, 5], [570.860718, 3]]
Loading resource: res://roads/road_top.gd <=================== does this generate UV?
ERROR: Condition "!first && !(format & Mesh::ARRAY_FORMAT_TEX_UV)" is true.
   at: add_uv (scene/resources/surface_tool.cpp:194)
ERROR: Condition "!first && !(format & Mesh::ARRAY_FORMAT_TEX_UV)" is true.
   at: add_uv (scene/resources/surface_tool.cpp:194)
ERROR: Condition "!first && !(format & Mesh::ARRAY_FORMAT_TEX_UV)" is true.
   at: add_uv (scene/resources/surface_tool.cpp:194)
@Zireael07
Copy link
Owner

  1. ViewportTexture not finding path of node is an engine bug I was never able to work around (note that the error doesn't inhibit mirrors functioning)
  2. Yes, roads are generated in editor. This is another engine issue I was never able to work around, and it doesn't seem to affect the meshes/textures either.

@clemens-tolboom
Copy link
Author

When Godot is loaded it ends with

Spots list: [0, 1, 2, 3, 4, 5, 6, 7]
{0:2, 1:2, 2:1, 3:0, 4:1, 5:1, 6:2, 7:3}
Marker data: [3, 5]
{0:0, 1:2, 2:1, 3:2, 4:1, 5:3, 6:3, 7:1}
SCRIPT ERROR: Invalid set index 'ai_data' (on base: 'Spatial (race_marker.gd)') with value of type 'Array'.
          at: spawn_marker (res://map/map_nav.gd:125)
SCRIPT ERROR: Invalid get index '0' (on base: 'Nil').
          at: spawn_markers (res://map/map_nav.gd:171)
Path_look: {[0, 2]:[627, 594], [0, 4]:[231, 198], [0, 7]:[99, 66], [1, 4]:[297, 264], [1, 6]:[165, 132], [1, 7]:[33, 0], [2, 0]:[594, 627], [2, 3]:[561, 528], [3, 2]:[528, 561], [3, 4]:[363, 330], [3, 5]:[429, 396], [4, 0]:[198, 231], [4, 1]:[264, 297], [4, 3]:[330, 363], [5, 3]:[396, 429], [5, 6]:[495, 462], [6, 1]:[132, 165], [6, 5]:[462, 495], [7, 0]:[66, 99], [7, 1]:[0, 33]}
intersection0(0, 0, 10)
intersection5(10, 0, 0)

@clemens-tolboom
Copy link
Author

ERROR: (Node not found: "" (relative to "").)

I think I ran into this one too using tool

@clemens-tolboom
Copy link
Author

ERROR: Condition "!first && !(format & Mesh::ARRAY_FORMAT_TEX_UV)" is true.
at: add_uv (scene/resources/surface_tool.cpp:194)

I know this one too ... I think that has to do with CSGMesh in my case ... but could be by using MeshInstance only adding points.

@Zireael07
Copy link
Owner

Leaving this open for a little while, but FYI Godot 4 already has a release candidate and the 3.5 version of this project is veeerry old and all of my focus is on the 4.x branch. (That one is a WIP and won't run currently, I am waiting for Godot 4 stable to be sure no more API changes are gonna sneak in)

@clemens-tolboom
Copy link
Author

I just saw the 4.x branch the other day :-O ... do you mind new issues regarding git / code arch ? All based on the 4.x branch?

@Zireael07
Copy link
Owner

No, I don't - feel free to report anything you see (as you probably noticed this project has been just me for years, no players, you're pretty much the first person to actually give it a try and report back)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants