0 votes

Hi everyone,

I try to create my first project.
It is composed of one scene called "my_scene".

I defined the default scene on "myscene.cs". Godot has accepted it (with another path it raise an error wich says that the scene doesn't exists, so it means the scene i defined is correct ... )
When i try to run the scene i have the error :
modules/mono/mono
gd/gdmonoutils.cpp:371 - System.IO.IOException: Invalid handle to path "/home/my_path/[Unknown]".

I changed the real path by "my_path".

The script isn't executed.

Thank you for your help.

Godot version Mono-3.2.3
in Engine by (22 points)

1 Answer

0 votes

Scenes are either .tscn or .scn files (normally .tscn). To run a script (either .gd or .cs) you have to add it to a node in the scene. I hope this helps.

by (254 points)
reshown by

Yes, the scene is called "my_scene.tscn".
Godot accept it but when I want to run It it looks for [Unknown] ...

Okay I think that is a bug. Maybe try with a clean project but i am not sure what else you could do.

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 Frequently asked questions and 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.