Hi,
I have a small project in Godot 3.5 (Mono) and wanted to try to migrate it to 4.0 beta3, just for kicks. After resolving several compilation errors in my C# scripts due to Godot refactoring (not too painfull), I only have txo compilation errors, but I can't understand how to solve them:
Build FAILED.
"C:\dev\Godot\TISNAP\TISNAP.sln" (default target) (1:2) ->
"C:\dev\Godot\TISNAP\TISNAP.csproj" (default target) (2:6) ->
(CoreCompile target) ->
C:\dev\Godot\TISNAP\Godot.SourceGenerators\Godot.SourceGenerators.ScriptPropertiesGenerator\Player_ScriptProperties_Generated.cs(22,13): error CS8331: Cannot assign to variable 'in godot_string_name' because it is a readonly variable [C:\dev\Godot\TISNAP\TISNAP.csproj]
C:\dev\Godot\TISNAP\Godot.SourceGenerators\Godot.SourceGenerators.ScriptPropertiesGenerator\Player_ScriptProperties_Generated.cs(66,79): error CS1503: Argument 1: cannot convert from 'Godot.NativeInterop.godot_string_name' to 'string?' [C:\dev\Godot\TISNAP\TISNAP.csproj]
0 Warning(s)
2 Error(s)
It appears that some scripts are dynamically generated and compiled, but they are deleted right after the compilation ends, and I'm at a loss as to how to solve the problem.
Any idea ?