Godot Version
4.2.1
Question
Today I opened a project that I hadn’t opened for a couple of weeks (I didn’t download a new version of Godot), and it worked fine. After adding some high-poly terrain and reïmporting and reloading Godot, it still worked. But then I opened it again and I couldn’t open my main scene anymore. Later I couldn’t open the entire project anymore, but that’s fixed now.
Anyway I’m getting this error when opening the scene:
scene/resources/resource_format_text.cpp:595 - res://Scenes/Main.tscn:256 - Parse Error: Expected float in constructor
This is (line 256) in Main.tscn:
251. [sub_resource type="ArrayMesh" id="ArrayMesh_dfm62"]
252. _surfaces = [{
253. "aabb": AABB(-1.5, -0.626629, -1.5, 3, 1.05389, 3),
254. "format": 34896613377,
255. "index_count": 6291456,
256. "index_data": PackedByteArray(0, 0, 0, 0, 1, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0, 1, 0, 0, 0, 3, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0, 0, 5, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 6, blend_shape_mode = 0
I’ve been trying this all night now and I can’t really figure it out, thanks for reading and (maybe) helping
What I already tried:
-Opening the Godot console version
-Scene->Save all scenes
-Changing the end of line 256 to blend_shape_mode = 0.0
-Reïmporting the project
-Creating a new project with the assets copied over