0 votes

Hi, opening res://src/gameplay.tscn fails to open and throws this error

 scene/resources/resource_format_text.cpp:843 - res://src/gameplay.tscn:1 - Parse Error: 
 Failed loading resource: res://src/gameplay.tscn

The scene was not renamed.
I'm using Godot v3.2.2

in Engine by (40 points)

1 Answer

0 votes

the file seams to be corrupt. If i read the src correctly it happens when godot reads the initial tag to get the type of file it is reading. But parsing the first tag fails.

First tag of a scene must look like ..
[gd_scene load_steps=5 format=2]

but can have different values.

Have you edit it with a texteditor? Maybe a BOM header has been added (first invisble byte of the file).

by (4,010 points)

indeed, the scene file was corrupt. After looking inside the file, the file is mysteriously empty, but never have i edited it

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.