Open clemens-tolboom opened 1 year ago
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.
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)
ERROR: (Node not found: "" (relative to "").)
I think I ran into this one too using tool
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.
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)
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?
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)
I run Godot from the commandline.
/Applications/Godot_v3.5.1-stable_osx.universal.app/Contents/MacOS/Godot --verbose --editor
Errors
There are tons of error in my console. Below the first two.