Page MenuHomeSolus

Godot 3.0.6 crashes when creating a C# script
Closed, DuplicatePublic

Description

Issue:
When trying to use C# scripts in Godot it instantly crashes.
Console log: https://gitlab.com/snippets/1746169

Steps to reproduce:

  1. Create a project in Godot
  2. Create a node
  3. Attach a new C# script
  4. Godot instantly crashes

Related Objects

Event Timeline

I don't know if that's the cause, but Godot requires mono 5.12 or greater, whereas we ship mono 5.10.
Pinging @kyrios123 for this. Are you able to upgrade mono an rebuild Godot, in case it's needed?

EDIT: it also requires MSBuild. Maybe it's finally time to accept my pending patch for it.

I don't know if that's the cause, but Godot requires mono 5.12 or greater, whereas we ship mono 5.10.
Pinging @kyrios123 for this. Are you able to upgrade mono an rebuild Godot, in case it's needed?

EDIT: it also requires MSBuild. Maybe it's finally time to accept my pending patch for it.

You are looking at the development doc. For the stable version, it's mono 5.2.0+ that is required.

http://docs.godotengine.org/en/3.0/development/compiling/compiling_with_mono.html

Oops! I wasn't aware of this difference in the docs. Thank you.

I found this on the godot issues tracker

Would be interesting to check with the most basic possible c# script to see if it works