Open git2013vb opened 2 years ago
@git2013vb Please upload a minimal reproduction project to make this easier to troubleshoot.
This seems to be a general issue with godot mono, where script files break when the node class is inside of a namespace. Also happens in a non-server godot project in editor (not exported)
Also happens on all platforms (have this on mac and windows as well
@git2013vb Please upload a minimal reproduction project to make this easier to troubleshoot.
Having a project will not help you more that what I described in issue, I think.
But if you insist ill give you two(2) instruction to have a MRP: (less effort than login and download/unpack any file zip from here)
1) create a new project (the exactly version is already defined in issue) 2) add a basic class in autoload like this one:
using Godot;
using System;
namespace DesertEdge.Singleton
{
public class Signals : Node
{
public override void _Ready()
{
}
}
}
While I was testing something else I incurred again at this issue using v4.0.rc2.official [d2699dc7a] I think its the same
E 0:00:00:0333 start: Script does not inherit from Node: res://new_script.gd.
<C++ Error> Condition "!valid_type" is true. Continuing.
<C++ Source> main/main.cpp:2758 @ start()
So I can add a MRP this time :)
Godot version
v3.5.beta1.mono.official [b9b23d222]
System information
Debian 11
Issue description
I tried to use server and it give me an error:
where , for example, Signals have a Node like any of others:
If I use headless server it work properly. I followed the guide line posted here: https://docs.godotengine.org/en/stable/tutorials/export/exporting_for_dedicated_servers.html So I tried to use .pck file - as stated in docs - but same error. I tried: (godot-server.64 is the Godot server donloaded form website -mono version )
Still same errors..
Steps to reproduce
see before
Minimal reproduction project
NA