-
-
Notifications
You must be signed in to change notification settings - Fork 23.7k
Open
Description
Tested versions
- Reproduciable in v4.5.1.stable.mono.official [f62fdbd]
System information
Windows10 - Godot-v4.5.1.stable.mono.official [f62fdbd]
Issue description
I've encountered a potential bug in the Godot C# version where modifying the system time can prevent subsequent C# code changes from being reflected in the built DLL.
Steps to reproduce
- Have a Godot C# project with some existing C# scripts.
- Change the system time on your local machine forward (e.g., from 2025-11-18 to 2025-11-20).
- Make a trivial change to a C# script (e.g., add a comment, modify a variable) and build the project within Godot. Observe that the build succeeds.
- Change the system time back to its original/correct time.
- Make another distinct change to the same or a different C# script, for example, print "hello world" in '_Ready'. Build the project again.
- Start the game in editor, no print showing in output panel.
- Move to
.godot\mono\temp\bin\Debug, the dll's last update time is 2025-11-20, not 2025-11-18
Minimal reproduction project (MRP)
show in steps